mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-08-06 11:07:37 +00:00
359d87440b
Not quite working yet. polyfill is loaded, but positioned elements are spanning whole viewport. Parking this for now.
9 lines
351 B
React
9 lines
351 B
React
import { createRoot } from 'react-dom/client';
|
|
import Homebrew from './homebrew.jsx';
|
|
import { bootstrapAnchorPositioningPolyfill } from '../components/anchorPositioningPolyfill.js';
|
|
|
|
const props = window.__INITIAL_PROPS__ || {};
|
|
|
|
createRoot(document.getElementById('reactRoot')).render(<Homebrew {...props} />);
|
|
bootstrapAnchorPositioningPolyfill();
|