Skip to content

Commit

Permalink
Fix linting.
Browse files Browse the repository at this point in the history
  • Loading branch information
robgietema committed Jan 22, 2024
1 parent e582951 commit b2bde7a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Login/Login.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function Login({ intl }) {
const loginOAuthValues = useSelector((state) => state.authomaticRedirect);
const loginOIDCValues = useSelector((state) => state.oidcRedirect);
const location = useLocation();
const [cookies, setCookie] = useCookies();
const [, setCookie] = useCookies();

useEffect(() => {
dispatch(listAuthOptions());
Expand Down
2 changes: 1 addition & 1 deletion src/components/LoginAuthomatic/LoginAuthomatic.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function LoginAuthomatic({ intl }) {
const isLoading = userSession.login.loading;
const error = userSession.login.error;
const token = userSession.token;
const [cookies, setCookie, removeCookie] = useCookies();
const [cookies, , removeCookie] = useCookies();
const return_url = cookies.return_url || '/';

useEffect(() => {
Expand Down

0 comments on commit b2bde7a

Please sign in to comment.