Skip to content

Commit

Permalink
fix: update app layout
Browse files Browse the repository at this point in the history
  • Loading branch information
kjxbyz committed Nov 15, 2023
1 parent 9267cd3 commit 6081249
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion app/app/[lng]/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,12 @@ export default async function RootLayout({
"flex min-h-screen flex-col",
)}
>
<NextIntlClientProvider locale={params.lng} messages={messages}>
<NextIntlClientProvider
locale={params.lng}
now={new Date()}
timeZone={Intl.DateTimeFormat().resolvedOptions().timeZone}
messages={messages}
>
<NextTopLoader height={1} />
<Providers>
<Particles />
Expand Down

0 comments on commit 6081249

Please sign in to comment.