From c6452de440a743e0b37d2e55ed092b0b216bc31c Mon Sep 17 00:00:00 2001 From: Joshua Melville Date: Tue, 10 Oct 2023 20:45:18 +0200 Subject: [PATCH] re-linting --- app/layout.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/layout.tsx b/app/layout.tsx index d824c540..558aee2a 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -3,7 +3,6 @@ import '~/styles/globals.scss'; import Providers from '../providers/Providers'; import RedirectWrapper from '~/components/RedirectWrapper'; import { trpc } from './_trpc/server'; -import type { Session } from 'lucia'; export const metadata = { title: 'Network Canvas Fresco', @@ -11,11 +10,12 @@ export const metadata = { }; async function RootLayout({ children }: { children: React.ReactNode }) { - const session = (await trpc.session.get.query(undefined, { + const session = await trpc.session.get.query(undefined, { context: { revalidate: 0, }, - })) as Session | null; + }); + const { expired, configured } = await trpc.appSettings.get.allappSettings.query(undefined, { context: {