Fix Cookie and animation Bug in Next js Website – Upwork

I have a next js website which uses cookies for authentication the login works but there is an issue where after logging in and the user i redirected to homepage I have to refresh the page before the page catches the cookie (I think it is an issue in getInitialProps). The second bug is that I have an animation with state in my component, classNames are swapped and this is how the animation works problem is some of the classNames being swapped do not take effect.

Budget: $15

Posted On: March 15, 2019 17:46 UTC
Category: Web, Mobile & Software Dev > Web Development

Skills: CSS3, JavaScript, Next.js, React.js
Country: United States
click to applyPosted on