Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Fix

Manav Rathief482c4b49bc
diff --git a/web/packages/accounts/components/utils/second-factor-choice.ts b/web/packages/accounts/components/utils/second-factor-choice.ts
index 754691244d..6694568b48 100644
--- a/web/packages/accounts/components/utils/second-factor-choice.ts
+++ b/web/packages/accounts/components/utils/second-factor-choice.ts
@@ -21,7 +21,7 @@ export const useSecondFactorChoiceIfNeeded = () => {
const resolveSecondFactorChoice = useRef<
| ((value: SecondFactorType | PromiseLike<SecondFactorType>) => void)
| undefined
- >();
+ >(undefined);
const {
show: showSecondFactorChoice,
props: secondFactorChoiceVisibilityProps,