mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-05-07 01:02:36 +00:00
chore: update prettier tab width for consistency (#175)
This commit is contained in:
parent
a931f8c69c
commit
f24d2fcc99
247 changed files with 7224 additions and 7375 deletions
|
@ -1,23 +1,23 @@
|
|||
import { AppShell, AppShellProps } from '@roleypoly/design-system/organisms/app-shell';
|
||||
import {
|
||||
RolePicker,
|
||||
RolePickerProps,
|
||||
RolePicker,
|
||||
RolePickerProps,
|
||||
} from '@roleypoly/design-system/organisms/role-picker';
|
||||
import * as React from 'react';
|
||||
|
||||
export type RolePickerTemplateProps = RolePickerProps & Omit<AppShellProps, 'children'>;
|
||||
|
||||
export const RolePickerTemplate = (props: RolePickerTemplateProps) => {
|
||||
const { user, guilds, activeGuildId, recentGuilds, ...pickerProps } = props;
|
||||
return (
|
||||
<AppShell
|
||||
activeGuildId={activeGuildId}
|
||||
user={user}
|
||||
guilds={guilds}
|
||||
recentGuilds={recentGuilds}
|
||||
small
|
||||
>
|
||||
<RolePicker {...pickerProps} />
|
||||
</AppShell>
|
||||
);
|
||||
const { user, guilds, activeGuildId, recentGuilds, ...pickerProps } = props;
|
||||
return (
|
||||
<AppShell
|
||||
activeGuildId={activeGuildId}
|
||||
user={user}
|
||||
guilds={guilds}
|
||||
recentGuilds={recentGuilds}
|
||||
small
|
||||
>
|
||||
<RolePicker {...pickerProps} />
|
||||
</AppShell>
|
||||
);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue