mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-04-25 11:59: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 || []}
|
||||
activeGuildId={props.activeGuildId || null}
|
||||
user={props.user}
|
||||
recentGuilds={props.recentGuilds}
|
||||
recentGuilds={props.recentGuilds || []}
|
||||
/>
|
||||
) : (
|
||||
<Masthead.Guest />
|
||||
|
|
|
@ -7,8 +7,8 @@ type ServerTemplateProps = Omit<AppShellProps, 'children'>;
|
|||
export const ServersTemplate = (props: ServerTemplateProps) => (
|
||||
<AppShell {...props} disableGuildPicker>
|
||||
<ServersListing
|
||||
guilds={props.guilds}
|
||||
recentGuilds={props.recentGuilds}
|
||||
guilds={props.guilds || []}
|
||||
recentGuilds={props.recentGuilds || []}
|
||||
></ServersListing>
|
||||
</AppShell>
|
||||
);
|
||||
|
|
Loading…
Add table
Reference in a new issue