mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-06-17 09:59:10 +00:00
feat(web): add recent guilds context, and app shell helper context
This commit is contained in:
parent
980f0cee60
commit
8ace9abf63
6 changed files with 132 additions and 7 deletions
|
@ -13,6 +13,7 @@ export type AppShellProps = {
|
|||
small?: boolean;
|
||||
activeGuildId?: string | null;
|
||||
guilds?: GuildSlug[];
|
||||
recentGuilds?: string[];
|
||||
disableGuildPicker?: boolean;
|
||||
};
|
||||
|
||||
|
@ -26,6 +27,7 @@ export const AppShell = (props: AppShellProps) => (
|
|||
guilds={props.guilds || []}
|
||||
activeGuildId={props.activeGuildId || null}
|
||||
user={props.user}
|
||||
recentGuilds={props.recentGuilds}
|
||||
/>
|
||||
) : (
|
||||
<Masthead.Guest />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue