This commit is contained in:
qikongjian 2025-09-05 21:06:45 +08:00
commit 20762e806c
3 changed files with 7 additions and 10 deletions

View File

@ -1,3 +0,0 @@
{
"template": "nextjs-shadcn"
}

View File

@ -1,2 +0,0 @@
components/ui/*
hooks/use-toast.ts

View File

@ -80,11 +80,13 @@ export default function RootLayout({
}}
>
<CallbackModalContext.Provider value={{ setShowCallbackModal }}>
{/* <ScreenAdapter /> */}
<div id="app" className='h-full w-full'>
{children}
{showCallbackModal && <CallbackModal onClose={() => setShowCallbackModal(false)} />}
</div>
<Providers>
{/* <ScreenAdapter /> */}
<div id="app" className='h-full w-full'>
{children}
{showCallbackModal && <CallbackModal onClose={() => setShowCallbackModal(false)} />}
</div>
</Providers>
</CallbackModalContext.Provider>
</ConfigProvider>
</body>