mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-06-14 16:49:10 +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;
|
||||
};
|
||||
|
||||
export const HelpPageTemplate = (props: HelpPageProps) => (
|
||||
<AppShell guilds={props.guilds} user={props.user || undefined}>
|
||||
<HelpPageBase>{props.children}</HelpPageBase>
|
||||
export const HelpPageTemplate = ({ children, ...appShellProps }: HelpPageProps) => (
|
||||
<AppShell {...appShellProps}>
|
||||
<HelpPageBase>{children}</HelpPageBase>
|
||||
</AppShell>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue