mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-08-06 04:37:37 +00:00
fd6fd98fdc
And update all the files to point to that directory to use the alias.
9 lines
340 B
React
9 lines
340 B
React
import { createRoot } from 'react-dom/client';
|
|
import Admin from './admin.jsx';
|
|
import { bootstrapAnchorPositioningPolyfill } from '@components/anchorPositioningPolyfill.js';
|
|
|
|
const props = window.__INITIAL_PROPS__ || {};
|
|
|
|
createRoot(document.getElementById('reactRoot')).render(<Admin {...props} />);
|
|
bootstrapAnchorPositioningPolyfill();
|