Implementa revisao de adjudicacoes e navegacao partilhada do SGC
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
import { createInertiaApp } from '@inertiajs/react';
|
||||
import type { ReactNode } from 'react';
|
||||
import { Toaster } from '@/components/ui/sonner';
|
||||
import { SgcShell } from '@/components/sgc-shell';
|
||||
import { TooltipProvider } from '@/components/ui/tooltip';
|
||||
import { initializeTheme } from '@/hooks/use-appearance';
|
||||
import AppLayout from '@/layouts/app-layout';
|
||||
@@ -14,8 +16,9 @@ void createInertiaApp({
|
||||
switch (true) {
|
||||
case name === 'welcome':
|
||||
case name === 'home':
|
||||
case name.startsWith('preview/'):
|
||||
return null;
|
||||
case name.startsWith('preview/'):
|
||||
return (page: ReactNode) => <SgcShell demo>{page}</SgcShell>;
|
||||
case name.startsWith('auth/'):
|
||||
return AuthLayout;
|
||||
case name.startsWith('settings/'):
|
||||
|
||||
Reference in New Issue
Block a user