mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-03-11 10:32:37 +01:00
refactor: reformat files to require parens around params (#316)
This commit is contained in:
parent
91ef4872d6
commit
a17b878617
50 changed files with 106 additions and 106 deletions
|
|
@ -10,7 +10,7 @@ const useToken = (endpoint) => {
|
|||
const getToken = () => localStorage.getItem(`${endpoint}_token`);
|
||||
const saveToken = (value) => {
|
||||
localStorage.setItem(`${endpoint}_token`, value);
|
||||
setHints(prev => prev + 1);
|
||||
setHints((prev) => prev + 1);
|
||||
};
|
||||
|
||||
return { token: getToken(), getToken, saveToken };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue