0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-03-22 08:58:11 +00:00
Files
homebrewery/client/entry-client-admin.jsx
Víctor Losada Hernández 3e76046868 Revert "renamed client to src"
This reverts commit c28736bd01.
2026-02-01 17:36:53 +01:00

13 lines
257 B
JavaScript

import React from 'react'
import { hydrateRoot } from 'react-dom/client';
import Admin from './admin.jsx';
import './admin/admin.less'
window.start_app = (props) => {
hydrateRoot(
document.getElementById('reactRoot'),
<Admin {...props} />
)
}