mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 21:06:42 +07:00
eslint auto-fix
This commit is contained in:
parent
312156bdf8
commit
4c4461ea19
55 changed files with 107 additions and 110 deletions
|
@ -64,4 +64,4 @@ export const PHRASES = {
|
|||
};
|
||||
|
||||
export const useRandomPhrase = (key: keyof typeof PHRASES) =>
|
||||
useMemo(() => PHRASES[key][Math.floor(Math.random() * PHRASES[key].length)], []);
|
||||
useMemo(() => PHRASES[key][Math.floor(Math.random() * PHRASES[key].length)], [key]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue