mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-04-25 20:09:11 +00:00
fix(web): correct some type issues with appShellProps
This commit is contained in:
parent
219ea2228b
commit
d0f9010ea8
2 changed files with 3 additions and 3 deletions
|
@ -27,7 +27,7 @@ export const AppShell = (props: AppShellProps) => (
|
||||||
guilds={props.guilds || []}
|
guilds={props.guilds || []}
|
||||||
activeGuildId={props.activeGuildId || null}
|
activeGuildId={props.activeGuildId || null}
|
||||||
user={props.user}
|
user={props.user}
|
||||||
recentGuilds={props.recentGuilds}
|
recentGuilds={props.recentGuilds || []}
|
||||||
/>
|
/>
|
||||||
) : (
|
) : (
|
||||||
<Masthead.Guest />
|
<Masthead.Guest />
|
||||||
|
|
|
@ -7,8 +7,8 @@ type ServerTemplateProps = Omit<AppShellProps, 'children'>;
|
||||||
export const ServersTemplate = (props: ServerTemplateProps) => (
|
export const ServersTemplate = (props: ServerTemplateProps) => (
|
||||||
<AppShell {...props} disableGuildPicker>
|
<AppShell {...props} disableGuildPicker>
|
||||||
<ServersListing
|
<ServersListing
|
||||||
guilds={props.guilds}
|
guilds={props.guilds || []}
|
||||||
recentGuilds={props.recentGuilds}
|
recentGuilds={props.recentGuilds || []}
|
||||||
></ServersListing>
|
></ServersListing>
|
||||||
</AppShell>
|
</AppShell>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Reference in a new issue