From 9ea37789d63313f463700f0bd71ba9e2e80e61c2 Mon Sep 17 00:00:00 2001 From: grokdesigns Date: Mon, 7 Apr 2025 13:32:07 -0700 Subject: [PATCH] Applied Prettier formatting --- src/app/layout.tsx | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) 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}! +

+
-
- )} + )}