frankcollins3 / Next-Water-App

Happy, Healthy Water Cycling App that tracks user/human fluid intake.
https://next-water-app.vercel.app
1 stars 0 forks source link

cookie token asserted to be "pageNavSettings" [6:11pm] #90

Closed frankcollins3 closed 11 months ago

frankcollins3 commented 11 months ago

attemping to do: responsive CSS, was flipping a few things around and next thing the page starts crashing.

error: there was a token inserted into chrome-tools -> application -> cookies -> the value of this token was pageNavSettings

this change caused "/api/graphQL" to come in with 400 requests.

proposed approach: already fixed and created an exception handler in the Contexts/Promises.tsx:

if (document.cookie) { const webcookies = document.cookie.split('; '); // this line of code caused the problem cookies(webcookies) milk('spill') }

since this appeared to almost cause hours of work, copy-paste app folder in case anything happens like that. version control