chore: update prettier tab width for consistency (#175)

This commit is contained in:
41666 2021-03-13 22:54:34 -05:00 committed by GitHub
parent a931f8c69c
commit f24d2fcc99
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
247 changed files with 7224 additions and 7375 deletions

View file

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

View file

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