This shouldn't be named useFoo, leaving that refactoring for later
This commit is contained in:
@@ -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",
|
||||
},
|
||||
},
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user