@@ -11,21 +11,19 @@ import {
1111} from "@remix-run/react" ;
1212import { type UseDataFunctionReturn , typedjson , useTypedLoaderData } from "remix-typedjson" ;
1313import { ExternalScripts } from "remix-utils/external-scripts" ;
14- import { commitSession , getSession } from "~/models/message.server" ;
1514import type { ToastMessage } from "~/models/message.server" ;
15+ import { commitSession , getSession } from "~/models/message.server" ;
1616import tailwindStylesheetUrl from "~/tailwind.css" ;
1717import { RouteErrorDisplay } from "./components/ErrorDisplay" ;
1818import { AppContainer , MainCenteredContainer } from "./components/layout/AppLayout" ;
19+ import { ShortcutsProvider } from "./components/primitives/ShortcutsProvider" ;
1920import { Toast } from "./components/primitives/Toast" ;
2021import { env } from "./env.server" ;
2122import { featuresForRequest } from "./features.server" ;
2223import { usePostHog } from "./hooks/usePostHog" ;
24+ import { useTypedMatchesData } from "./hooks/useTypedMatchData" ;
2325import { getUser } from "./services/session.server" ;
2426import { appEnvTitleTag } from "./utils" ;
25- import { type Handle } from "./utils/handle" ;
26- import { useEffect } from "react" ;
27- import { useTypedMatchesData } from "./hooks/useTypedMatchData" ;
28- import { ShortcutsProvider } from "./components/primitives/ShortcutsProvider" ;
2927
3028declare global {
3129 interface Window {
@@ -105,7 +103,7 @@ export function ErrorBoundary() {
105103 < Meta />
106104 < Links />
107105 </ head >
108- < body className = "bg-darkBackground h-full overflow-hidden" >
106+ < body className = "h-full overflow-hidden bg-background-dimmed " >
109107 < AppContainer >
110108 < MainCenteredContainer >
111109 < RouteErrorDisplay />
@@ -119,7 +117,7 @@ export function ErrorBoundary() {
119117}
120118
121119export default function App ( ) {
122- const { posthogProjectKey, kapa } = useTypedLoaderData < typeof loader > ( ) ;
120+ const { posthogProjectKey } = useTypedLoaderData < typeof loader > ( ) ;
123121 usePostHog ( posthogProjectKey ) ;
124122
125123 return (
@@ -129,7 +127,7 @@ export default function App() {
129127 < Meta />
130128 < Links />
131129 </ head >
132- < body className = "bg-darkBackground h-full overflow-hidden" >
130+ < body className = "h-full overflow-hidden bg-background-dimmed " >
133131 < ShortcutsProvider >
134132 < Outlet />
135133 < Toast />
0 commit comments