diff --git a/resources/js/app.js b/resources/js/app.js index 4670131..a972537 100644 --- a/resources/js/app.js +++ b/resources/js/app.js @@ -22,9 +22,7 @@ window.Notify = new Notify(); window.sessionFresh = new SessionFresh(); window.Swal = Swal; window.TwScreen = new TailwindScreen(); -window.darkMode = darkMode; -bootTheme(); bootSidebar(); createInertiaApp({ @@ -34,8 +32,8 @@ createInertiaApp({ title: (title) => `${title} - ${appName}`, resolve: (name) => resolvePageComponent(`./Pages/${name}.vue`, import.meta.glob('./Pages/**/*.vue')), setup({ el, App, props, plugin }) { - return createApp({ - render: () => h(App, props) + return createApp({ + render: () => h(App, props) }) .use(plugin) .use(ZiggyVue, Ziggy)