mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-06-16 01:29:09 +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
|
@ -3,11 +3,11 @@ import { ServersTemplate } from '.';
|
|||
import { mastheadSlugs, user } from '../../fixtures/storyData';
|
||||
|
||||
export default {
|
||||
title: 'Templates/Servers Page',
|
||||
args: {
|
||||
guilds: mastheadSlugs,
|
||||
user: user,
|
||||
},
|
||||
title: 'Templates/Servers Page',
|
||||
args: {
|
||||
guilds: mastheadSlugs,
|
||||
user: user,
|
||||
},
|
||||
};
|
||||
|
||||
export const serversPage = (args) => <ServersTemplate {...args} />;
|
||||
|
|
|
@ -5,10 +5,10 @@ import * as React from 'react';
|
|||
type ServerTemplateProps = Omit<AppShellProps, 'children'>;
|
||||
|
||||
export const ServersTemplate = (props: ServerTemplateProps) => (
|
||||
<AppShell {...props} disableGuildPicker>
|
||||
<ServersListing
|
||||
guilds={props.guilds || []}
|
||||
recentGuilds={props.recentGuilds || []}
|
||||
></ServersListing>
|
||||
</AppShell>
|
||||
<AppShell {...props} disableGuildPicker>
|
||||
<ServersListing
|
||||
guilds={props.guilds || []}
|
||||
recentGuilds={props.recentGuilds || []}
|
||||
></ServersListing>
|
||||
</AppShell>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue