diff --git a/src/app/layout.tsx b/src/app/layout.tsx index b80b0790..ce75dc27 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -18,7 +18,7 @@ export const metadata: Metadata = { description: "" }; -export const dynamic = 'force-dynamic'; +export const dynamic = "force-dynamic"; // const font = Figtree({ subsets: ["latin"] }); const font = Inter({ subsets: ["latin"] }); @@ -34,9 +34,9 @@ export default async function RootLayout({ visible: true } as any; - const res = await priv.get< - AxiosResponse - >("supporter-key/visible"); + const res = await priv.get>( + "supporter-key/visible" + ); supporterData.visible = res.data.data.visible; supporterData.tier = res.data.data.tier; @@ -114,14 +114,16 @@ export default async function RootLayout({ )} {supporterData?.tier && ( -
-
-

- Thank you for supporting Pangolin as a {supporterData.tier}! -

+
+
+

+ Thank you for supporting + Pangolin as a{" "} + {supporterData.tier}! +

+
-
- )} + )}