From eec432758bae8b25deeadef48b92a753750f4dff Mon Sep 17 00:00:00 2001 From: notmd Date: Mon, 16 Jan 2023 11:55:21 +0700 Subject: [PATCH] remove text and fix lint --- website/src/pages/auth/signin.tsx | 4 +--- website/src/types/utils.ts | 1 + 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/website/src/pages/auth/signin.tsx b/website/src/pages/auth/signin.tsx index 21027036..ab1c74ca 100644 --- a/website/src/pages/auth/signin.tsx +++ b/website/src/pages/auth/signin.tsx @@ -170,9 +170,7 @@ const SigninButton = (props: ButtonProps) => { colorScheme={buttonColorScheme} color="white" {...props} - > - Continue with Email - + > ); }; diff --git a/website/src/types/utils.ts b/website/src/types/utils.ts index fc5fb881..82c35036 100644 --- a/website/src/types/utils.ts +++ b/website/src/types/utils.ts @@ -1,2 +1,3 @@ // https://github.com/ts-essentials/ts-essentials/blob/25cae45c162f8784e3cdae8f43783d0c66370a57/lib/types.ts#L437 +// eslint-disable-next-line @typescript-eslint/no-explicit-any export type ElementOf = T extends readonly (infer ET)[] ? ET : never;