adnjoo / xtrack

🫠
https://xtrack.ing
0 stars 0 forks source link

web: prevent non-auth flash #310

Closed adnjoo closed 5 months ago

adnjoo commented 5 months ago

Description

on web app when going to notes there's a flash of You need to be authenticated to see this page

probably checking non auth first

https://github.com/adnjoo/xtrack/blob/main/web/app/(protected)/notes/page.tsx

Expected behavior

no flash

Example fix