Improved authentication; added fallbacks to 3D; cleaner dashboard charts

This commit is contained in:
iv_vuytsik
2025-10-22 21:28:10 +03:00
parent 34e84213c7
commit 932b16d4f4
18 changed files with 478 additions and 171 deletions

View File

@@ -1,4 +1,5 @@
import React from 'react'
import AuthGuard from '@/components/auth/AuthGuard'
export default function ProtectedLayout({
children,
@@ -6,8 +7,10 @@ export default function ProtectedLayout({
children: React.ReactNode
}) {
return (
<div className="protected-layout">
{children}
</div>
<AuthGuard>
<div className="protected-layout">
{children}
</div>
</AuthGuard>
)
}