mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-03-23 17:28:11 +00:00
12
client/entry-client-admin.jsx
Normal file
12
client/entry-client-admin.jsx
Normal file
@@ -0,0 +1,12 @@
|
||||
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} />
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user