Skip to content

Commit

Permalink
Added missing dependencies to useEffect
Browse files Browse the repository at this point in the history
  • Loading branch information
stvnbash committed May 16, 2022
1 parent b3238c1 commit 12fe82f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export default function Home({ roles, categories, cards, showRoleSelector, setSh
if (status !== 'loading' && (role[2] && session) && !RegExp(role[3]).test(session.user.email)) {
localStorage.removeItem('role'); setRole([null, null, null, null]); setShowRoleSelector(true);
}
}, [session, status])
}, [session, status, role, setRole, setShowRoleSelector])

return (

Expand Down

1 comment on commit 12fe82f

@vercel
Copy link

@vercel vercel bot commented on 12fe82f May 16, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

myecr – ./

myecr.vercel.app
myecr-git-main-bash.vercel.app
myecr-bash.vercel.app

Please sign in to comment.