File tree Expand file tree Collapse file tree 4 files changed +5
-3
lines changed Expand file tree Collapse file tree 4 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 2525 "daisyui" : " ^5.0.0" ,
2626 "motion" : " ^11.15.0" ,
2727 "next" : " ^15.3.2" ,
28- "next-intl" : " ^4.0.2 " ,
28+ "next-intl" : " ^4.1.0 " ,
2929 "next-themes" : " ^0.4.4" ,
3030 "postcss" : " ^8.5.3" ,
3131 "posthog-js" : " ^1.203.1" ,
4343 },
4444 "devDependencies" : {
4545 "@biomejs/biome" : " ^1.5.1" ,
46+ "@opennextjs/aws" : " ^3.6.4" ,
4647 "@types/node" : " ^20" ,
4748 "@types/react" : " ^18" ,
4849 "@types/react-dom" : " ^18" ,
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import localFont from "next/font/local";
33import { CSPostHogProvider } from "@/components/posthog" ;
44import { Toaster } from "sonner" ;
55import { NextIntlClientProvider } from "next-intl" ;
6- import { getMessages } from "next-intl/server" ;
6+ import { getMessages , setRequestLocale } from "next-intl/server" ;
77import { notFound } from "next/navigation" ;
88import { routing } from "@/i18n/routing" ;
99import { ReactNode } from "react" ;
@@ -15,7 +15,7 @@ export const metadata: Metadata = {
1515 title : "MikanDev" ,
1616 description : "We make cool stuff to make life easier 🍊" ,
1717 openGraph : {
18- images : [ "https://mikn.dev/og-homepage.png" ] ,
18+ images : [ "https://mikn.dev/img/ og-homepage.png" ] ,
1919 } ,
2020} ;
2121
@@ -39,6 +39,7 @@ export default async function LocaleLayout({
3939 notFound ( ) ;
4040 }
4141
42+ setRequestLocale ( locale ) ;
4243 // Providing all messages to the client
4344 // side is the easiest way to get started
4445 const messages = await getMessages ( ) ;
File renamed without changes.
You can’t perform that action at this time.
0 commit comments