mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-02-24 02:01:30 -05:00
fix: type error in show setting's Certification (#51409)
This commit is contained in:
@@ -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 && (
|
||||
<>
|
||||
|
||||
Reference in New Issue
Block a user