chore: cleanup

This commit is contained in:
Divlo
2021-12-28 16:06:58 +01:00
parent accd36d1fc
commit 91e246b759
28 changed files with 21766 additions and 11026 deletions

View File

@ -1,3 +1,5 @@
import { NextPage } from 'next'
import { Head } from 'components/Head'
import { Application } from 'components/Application'
import { Messages } from 'components/Application/Messages'
@ -12,7 +14,7 @@ export interface ChannelPageProps extends PagePropsWithAuthentication {
guildId: number
}
const ChannelPage: React.FC<ChannelPageProps> = (props) => {
const ChannelPage: NextPage<ChannelPageProps> = (props) => {
const { channelId, guildId, authentication } = props
return (

View File

@ -1,6 +1,7 @@
import { NextPage } from 'next'
import { Head } from 'components/Head'
import { Application } from 'components/Application'
import {
authenticationFromServerSide,
AuthenticationProvider,
@ -8,7 +9,7 @@ import {
} from 'utils/authentication'
import { CreateGuild } from 'components/Application/CreateGuild'
const CreateGuildPage: React.FC<PagePropsWithAuthentication> = (props) => {
const CreateGuildPage: NextPage<PagePropsWithAuthentication> = (props) => {
return (
<AuthenticationProvider authentication={props.authentication}>
<Head title='Thream | Create a Guild' />

View File

@ -1,3 +1,5 @@
import { NextPage } from 'next'
import { Head } from 'components/Head'
import { Application } from 'components/Application'
import {
@ -7,7 +9,7 @@ import {
} from 'utils/authentication'
import { JoinGuildsPublic } from 'components/Application/JoinGuildsPublic'
const JoinGuildPage: React.FC<PagePropsWithAuthentication> = (props) => {
const JoinGuildPage: NextPage<PagePropsWithAuthentication> = (props) => {
return (
<AuthenticationProvider authentication={props.authentication}>
<Head title='Thream | Application' />

View File

@ -1,3 +1,5 @@
import { NextPage } from 'next'
import { Head } from 'components/Head'
import { Application } from 'components/Application'
import { PopupGuild } from 'components/Application/PopupGuild/PopupGuild.stories'
@ -7,7 +9,7 @@ import {
PagePropsWithAuthentication
} from 'utils/authentication'
const ApplicationPage: React.FC<PagePropsWithAuthentication> = (props) => {
const ApplicationPage: NextPage<PagePropsWithAuthentication> = (props) => {
return (
<AuthenticationProvider authentication={props.authentication}>
<Head title='Thream | Application' />

View File

@ -1,3 +1,5 @@
import { NextPage } from 'next'
import { Head } from 'components/Head'
import { Application } from 'components/Application'
import {
@ -7,7 +9,7 @@ import {
} from 'utils/authentication'
import { UserProfile } from 'components/Application/UserProfile'
const UserProfilePage: React.FC<PagePropsWithAuthentication> = (props) => {
const UserProfilePage: NextPage<PagePropsWithAuthentication> = (props) => {
return (
<AuthenticationProvider authentication={props.authentication}>
<Head title='Thream | Settings' />