()
| 80 | } |
| 81 | |
| 82 | function App() { |
| 83 | const [theme] = useTheme(); |
| 84 | |
| 85 | return ( |
| 86 | <html lang="en" className={clsx(theme)}> |
| 87 | <head> |
| 88 | <Meta /> |
| 89 | <meta charSet="utf-8" /> |
| 90 | <Links /> |
| 91 | <NonFlashOfWrongThemeEls ssrTheme={Boolean(theme)} /> |
| 92 | </head> |
| 93 | <body className="overscroll-none"> |
| 94 | <Outlet /> |
| 95 | <ScrollRestoration /> |
| 96 | <Scripts /> |
| 97 | {process.env.NODE_ENV === "development" && <LiveReload />} |
| 98 | </body> |
| 99 | </html> |
| 100 | ); |
| 101 | } |
| 102 | |
| 103 | export default function AppWithProviders() { |
| 104 | const { theme, starCount, themeOverride } = useLoaderData<LoaderData>(); |
nothing calls this directly
no test coverage detected