Wire admin studio SSR and search infrastructure
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
import './bootstrap'
|
||||
import { mountInertiaRoot } from './bootstrap'
|
||||
import React from 'react'
|
||||
import { createRoot } from 'react-dom/client'
|
||||
import { createInertiaApp } from '@inertiajs/react'
|
||||
import ProfileShow from './Pages/Profile/ProfileShow'
|
||||
import ProfileGallery from './Pages/Profile/ProfileGallery'
|
||||
@@ -23,7 +22,6 @@ const pages = {
|
||||
createInertiaApp({
|
||||
resolve: (name) => pages[name],
|
||||
setup({ el, App, props }) {
|
||||
const root = createRoot(el)
|
||||
root.render(<App {...props} />)
|
||||
mountInertiaRoot(el, App, props)
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user