fix(web): correct some type issues with appShellProps

This commit is contained in:
41666 2021-03-13 19:21:48 -05:00
parent 219ea2228b
commit d0f9010ea8
2 changed files with 3 additions and 3 deletions

View file

@ -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 />

View file

@ -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>
);