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 25
25
"daisyui" : " ^5.0.0" ,
26
26
"motion" : " ^11.15.0" ,
27
27
"next" : " ^15.3.2" ,
28
- "next-intl" : " ^4.0.2 " ,
28
+ "next-intl" : " ^4.1.0 " ,
29
29
"next-themes" : " ^0.4.4" ,
30
30
"postcss" : " ^8.5.3" ,
31
31
"posthog-js" : " ^1.203.1" ,
43
43
},
44
44
"devDependencies" : {
45
45
"@biomejs/biome" : " ^1.5.1" ,
46
+ "@opennextjs/aws" : " ^3.6.4" ,
46
47
"@types/node" : " ^20" ,
47
48
"@types/react" : " ^18" ,
48
49
"@types/react-dom" : " ^18" ,
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import localFont from "next/font/local";
3
3
import { CSPostHogProvider } from "@/components/posthog" ;
4
4
import { Toaster } from "sonner" ;
5
5
import { NextIntlClientProvider } from "next-intl" ;
6
- import { getMessages } from "next-intl/server" ;
6
+ import { getMessages , setRequestLocale } from "next-intl/server" ;
7
7
import { notFound } from "next/navigation" ;
8
8
import { routing } from "@/i18n/routing" ;
9
9
import { ReactNode } from "react" ;
@@ -15,7 +15,7 @@ export const metadata: Metadata = {
15
15
title : "MikanDev" ,
16
16
description : "We make cool stuff to make life easier 🍊" ,
17
17
openGraph : {
18
- images : [ "https://mikn.dev/og-homepage.png" ] ,
18
+ images : [ "https://mikn.dev/img/ og-homepage.png" ] ,
19
19
} ,
20
20
} ;
21
21
@@ -39,6 +39,7 @@ export default async function LocaleLayout({
39
39
notFound ( ) ;
40
40
}
41
41
42
+ setRequestLocale ( locale ) ;
42
43
// Providing all messages to the client
43
44
// side is the easiest way to get started
44
45
const messages = await getMessages ( ) ;
File renamed without changes.
You can’t perform that action at this time.
0 commit comments