main
Last change
on this file since 5d6f37a was 5d6f37a, checked in by Naum Shapkarovski <naumshapkarovski@…>, 2 months ago |
add customer
|
-
Property mode
set to
100644
|
File size:
427 bytes
|
Rev | Line | |
---|
[5d6f37a] | 1 | 'use client';
|
---|
| 2 |
|
---|
| 3 | // auth
|
---|
| 4 | import { GuestGuard } from 'src/auth/guard';
|
---|
| 5 | // components
|
---|
| 6 | import AuthClassicLayout from 'src/layouts/auth/classic';
|
---|
| 7 |
|
---|
| 8 | // ----------------------------------------------------------------------
|
---|
| 9 |
|
---|
| 10 | type Props = {
|
---|
| 11 | children: React.ReactNode;
|
---|
| 12 | };
|
---|
| 13 |
|
---|
| 14 | export default function Layout({ children }: Props) {
|
---|
| 15 | return (
|
---|
| 16 | <GuestGuard>
|
---|
| 17 | <AuthClassicLayout>{children}</AuthClassicLayout>
|
---|
| 18 | </GuestGuard>
|
---|
| 19 | );
|
---|
| 20 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.