fix: type error in show setting's Certification (#51409)

This commit is contained in:
Muhammed Mustafa
2023-08-31 17:03:46 +03:00
committed by GitHub
parent b0022fc45f
commit 8f6809686e

View File

@@ -54,7 +54,7 @@ type ShowSettingsProps = Pick<ThemeProps, 'toggleNightMode'> & {
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 && (
<>