Skip to content

Commit

Permalink
chore: run linter
Browse files Browse the repository at this point in the history
  • Loading branch information
agoose77 committed Aug 5, 2024
1 parent 6d9bf34 commit dc0b1dc
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions packages/site/src/pages/Root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,13 @@ export function Document({
NavLink: NavLink as any,
};
return (
<ThemeProvider theme={theme} renderers={renderers} staticBuild={staticBuild} {...links} top={top}>
<ThemeProvider
theme={theme}
renderers={renderers}
staticBuild={staticBuild}
{...links}
top={top}
>
<DocumentWithoutProviders
children={children}
scripts={scripts}
Expand Down Expand Up @@ -88,7 +94,7 @@ export function DocumentWithoutProviders({
top?: number;
renderers?: Record<string, NodeRenderer>;
}) {
const {theme } = useTheme();
const { theme } = useTheme();
return (
<html lang="en" className={classNames(theme)} style={{ scrollPadding: top }}>
<head>
Expand Down

0 comments on commit dc0b1dc

Please sign in to comment.