Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
elvincheng3 committed Nov 3, 2024
1 parent 0bbd840 commit 0a2bb7e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ function App() {
setLoading(false);
};
checkLoggedIn();
}, [cookies.token, setMember, loading, setLoading]);
}, [cookies.token, setMember, loading, setLoading, member]);

return (
<div className="flex flex-col min-h-screen justify-between">
Expand Down
2 changes: 1 addition & 1 deletion src/hooks/useAuth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const useAuth = (): {
login: (nuid: string, lastName: string) => Promise<string | undefined>;
logout: () => void;
} => {
const [_, setCookie, removeCookie] = useCookies();
const [, setCookie, removeCookie] = useCookies();
const { member, setMember } = useContext(AuthContext);

const login = async (nuid: string, lastName: string) => {
Expand Down

0 comments on commit 0a2bb7e

Please sign in to comment.