This shouldn't be named useFoo, leaving that refactoring for later

This commit is contained in:
Manav Rathi
2024-11-20 09:47:14 +05:30
parent cd6c3d9158
commit 98bfb8b5f5
2 changed files with 1 additions and 1 deletions

View File

@@ -18,7 +18,6 @@ export default [
"@typescript-eslint/no-unsafe-call": "off",
/** TODO: Disabled as we migrate, try to prune these again */
"react-hooks/exhaustive-deps": "off",
"react-hooks/rules-of-hooks": "off",
"react-refresh/only-export-components": "off",
},
},

View File

@@ -171,6 +171,7 @@ const Page: React.FC<PageProps> = ({ appContext }) => {
keyAttributes.keyDecryptionNonce,
kek,
);
// eslint-disable-next-line react-hooks/rules-of-hooks
useMasterPassword(key, kek, keyAttributes);
return;
}