From 8f6809686e12e6ab99efd4af1cd12c04e33cc856 Mon Sep 17 00:00:00 2001 From: Muhammed Mustafa Date: Thu, 31 Aug 2023 17:03:46 +0300 Subject: [PATCH] fix: type error in show setting's Certification (#51409) --- client/src/client-only-routes/show-settings.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/src/client-only-routes/show-settings.tsx b/client/src/client-only-routes/show-settings.tsx index f0e4e418d43..df658732e5a 100644 --- a/client/src/client-only-routes/show-settings.tsx +++ b/client/src/client-only-routes/show-settings.tsx @@ -54,7 +54,7 @@ type ShowSettingsProps = Pick & { updatePortfolio: () => void; updateQuincyEmail: (isSendQuincyEmail: boolean) => void; user: User; - verifyCert: () => void; + verifyCert: typeof verifyCert; path?: string; userToken: string | null; }; @@ -228,6 +228,7 @@ export function ShowSettings(props: ShowSettingsProps): JSX.Element { isSciCompPyCertV7={isSciCompPyCertV7} username={username} verifyCert={verifyCert} + isEmailVerified={isEmailVerified} /> {userToken && ( <>