mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-03-22 08:58:11 +00:00
stable version
This commit is contained in:
@@ -2,6 +2,5 @@ import { createRoot } from "react-dom/client";
|
||||
import Homebrew from "./homebrew.jsx";
|
||||
|
||||
const props = window.__INITIAL_PROPS__ || {};
|
||||
window.onload = ()=> {console.log('props: ', window.__INITIAL_PROPS__)};
|
||||
|
||||
createRoot(document.getElementById("reactRoot")).render(<Homebrew {...props} />);
|
||||
|
||||
Reference in New Issue
Block a user