add loading indicator
This commit is contained in:
committed by
Carl-Gerhard Lindesvärd
parent
1aa95e8649
commit
694f5bf622
@@ -73,6 +73,7 @@
|
||||
"next": "~14.2.1",
|
||||
"next-auth": "^4.24.5",
|
||||
"next-themes": "^0.2.1",
|
||||
"nextjs-toploader": "^1.6.11",
|
||||
"nuqs": "^1.16.1",
|
||||
"prisma-error-enum": "^0.1.3",
|
||||
"pushmodal": "^1.0.0",
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { cn } from '@/utils/cn';
|
||||
import NextTopLoader from 'nextjs-toploader';
|
||||
|
||||
import Providers from './providers';
|
||||
|
||||
@@ -26,6 +27,12 @@ export default function RootLayout({
|
||||
<body
|
||||
className={cn('grainy min-h-screen bg-slate-100 font-sans antialiased')}
|
||||
>
|
||||
<NextTopLoader
|
||||
showSpinner={false}
|
||||
color="#2463EB"
|
||||
height={2}
|
||||
shadow={false}
|
||||
/>
|
||||
<Providers>{children}</Providers>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user