From dec76a40a5daab7949c5079855cf7e39278bd700 Mon Sep 17 00:00:00 2001 From: Katalina Okano Date: Thu, 3 Dec 2020 12:08:20 -0500 Subject: [PATCH] fix type issues --- src/design-system/organisms/preauth/Preauth.tsx | 6 +++--- src/pages/help/why-no-roles.tsx | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/design-system/organisms/preauth/Preauth.tsx b/src/design-system/organisms/preauth/Preauth.tsx index a22a648..e415b38 100644 --- a/src/design-system/organisms/preauth/Preauth.tsx +++ b/src/design-system/organisms/preauth/Preauth.tsx @@ -1,15 +1,15 @@ +import Link from 'next/link'; import * as React from 'react'; import { FaDiscord } from 'react-icons/fa'; +import { GuildSlug } from 'roleypoly/common/types'; import { Button } from 'roleypoly/design-system/atoms/button'; import { Space } from 'roleypoly/design-system/atoms/space'; import { PreauthGreeting } from 'roleypoly/design-system/molecules/preauth-greeting'; import { PreauthSecretCode } from 'roleypoly/design-system/molecules/preauth-secret-code'; -import { Guild } from 'roleypoly/common/types'; import styled from 'styled-components'; -import Link from 'next/link'; export type PreauthProps = { - guildSlug?: Guild; + guildSlug?: GuildSlug; onSendSecretCode: (code: string) => void; botName?: string; discordOAuthLink?: string; diff --git a/src/pages/help/why-no-roles.tsx b/src/pages/help/why-no-roles.tsx index 7101685..f141f45 100644 --- a/src/pages/help/why-no-roles.tsx +++ b/src/pages/help/why-no-roles.tsx @@ -10,4 +10,4 @@ const WhyNoRolesPage = (props: HelpPageProps) => ( ); -export default WhyNoRolesPages; +export default WhyNoRolesPage;