's'
This commit is contained in:
@@ -3,7 +3,7 @@ import { notFound } from "next/navigation";
|
||||
import { LocaleProvider } from "../context/LocaleContext";
|
||||
import type { Locale } from "../context/LocaleContext";
|
||||
import { getThemeMessages } from "@/app/lib/theme-data";
|
||||
import Navbar from "../components/Navbar";
|
||||
import RouteAwareNavbar from "../components/RouteAwareNavbar";
|
||||
import SetLangAttr from "../components/SetLangAttr";
|
||||
|
||||
const LOCALES: Locale[] = ["zh", "en"];
|
||||
@@ -35,7 +35,7 @@ export default async function LocaleLayout({
|
||||
return (
|
||||
<LocaleProvider locale={locale as Locale} messages={messages}>
|
||||
<SetLangAttr />
|
||||
<Navbar />
|
||||
<RouteAwareNavbar />
|
||||
{children}
|
||||
</LocaleProvider>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user