Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sweepstake
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Arjun Jhukal
sweepstake
Commits
0a54e96f
Commit
0a54e96f
authored
Jan 21, 2026
by
Arjun Jhukal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated the new changes related to the propell
parent
7214ba54
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
3 deletions
+12
-3
layout.tsx
src/app/(dashboard)/(user)/(outsideAuth)/layout.tsx
+12
-3
No files found.
src/app/(dashboard)/(user)/(outsideAuth)/layout.tsx
View file @
0a54e96f
...
...
@@ -3,14 +3,14 @@
import
DashboardLayout
from
'@/components/layouts/DashboardLayout'
;
import
AgeVerificationModal
from
'@/components/organism/dialog'
;
import
{
useSearchParams
}
from
'next/navigation'
;
import
React
from
'react'
;
import
React
,
{
Suspense
}
from
'react'
;
export
default
function
DashboardRootLayout
({
children
}:
{
children
:
React
.
ReactNode
})
{
function
LayoutContent
({
children
}:
{
children
:
React
.
ReactNode
})
{
const
searchParams
=
useSearchParams
();
const
visitorId
=
searchParams
.
get
(
"visitor_id"
);
localStorage
.
setItem
(
"visitor_id"
,
visitorId
||
""
);
return
(
<
DashboardLayout
>
{
children
}
...
...
@@ -18,3 +18,12 @@ export default function DashboardRootLayout({ children }: { children: React.Reac
</
DashboardLayout
>
)
}
export
default
function
DashboardRootLayout
({
children
}:
{
children
:
React
.
ReactNode
})
{
return
(
<
Suspense
fallback=
{
<
div
>
Loading...
</
div
>
}
>
<
LayoutContent
>
{
children
}
</
LayoutContent
>
</
Suspense
>
)
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment