mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-04-25 03:49:11 +00:00
fix type issues
This commit is contained in:
parent
05d7e5c145
commit
dec76a40a5
2 changed files with 4 additions and 4 deletions
|
@ -1,15 +1,15 @@
|
||||||
|
import Link from 'next/link';
|
||||||
import * as React from 'react';
|
import * as React from 'react';
|
||||||
import { FaDiscord } from 'react-icons/fa';
|
import { FaDiscord } from 'react-icons/fa';
|
||||||
|
import { GuildSlug } from 'roleypoly/common/types';
|
||||||
import { Button } from 'roleypoly/design-system/atoms/button';
|
import { Button } from 'roleypoly/design-system/atoms/button';
|
||||||
import { Space } from 'roleypoly/design-system/atoms/space';
|
import { Space } from 'roleypoly/design-system/atoms/space';
|
||||||
import { PreauthGreeting } from 'roleypoly/design-system/molecules/preauth-greeting';
|
import { PreauthGreeting } from 'roleypoly/design-system/molecules/preauth-greeting';
|
||||||
import { PreauthSecretCode } from 'roleypoly/design-system/molecules/preauth-secret-code';
|
import { PreauthSecretCode } from 'roleypoly/design-system/molecules/preauth-secret-code';
|
||||||
import { Guild } from 'roleypoly/common/types';
|
|
||||||
import styled from 'styled-components';
|
import styled from 'styled-components';
|
||||||
import Link from 'next/link';
|
|
||||||
|
|
||||||
export type PreauthProps = {
|
export type PreauthProps = {
|
||||||
guildSlug?: Guild;
|
guildSlug?: GuildSlug;
|
||||||
onSendSecretCode: (code: string) => void;
|
onSendSecretCode: (code: string) => void;
|
||||||
botName?: string;
|
botName?: string;
|
||||||
discordOAuthLink?: string;
|
discordOAuthLink?: string;
|
||||||
|
|
|
@ -10,4 +10,4 @@ const WhyNoRolesPage = (props: HelpPageProps) => (
|
||||||
</HelpPageTemplate>
|
</HelpPageTemplate>
|
||||||
);
|
);
|
||||||
|
|
||||||
export default WhyNoRolesPages;
|
export default WhyNoRolesPage;
|
||||||
|
|
Loading…
Add table
Reference in a new issue