mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-06-15 00:59:09 +00:00
fix help page not correctly injecting all AppShellProps
This commit is contained in:
parent
7ba0b6316e
commit
5404047bd2
1 changed files with 3 additions and 3 deletions
|
@ -6,8 +6,8 @@ export type HelpPageProps = AppShellProps & {
|
||||||
children: React.ReactNode;
|
children: React.ReactNode;
|
||||||
};
|
};
|
||||||
|
|
||||||
export const HelpPageTemplate = (props: HelpPageProps) => (
|
export const HelpPageTemplate = ({ children, ...appShellProps }: HelpPageProps) => (
|
||||||
<AppShell guilds={props.guilds} user={props.user || undefined}>
|
<AppShell {...appShellProps}>
|
||||||
<HelpPageBase>{props.children}</HelpPageBase>
|
<HelpPageBase>{children}</HelpPageBase>
|
||||||
</AppShell>
|
</AppShell>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue