useState seemingly causing issues with nextjs - Kevin Powell - Community