mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
checkAuth was defined as a plain function and used as a useEffect dependency, causing it to fire on every render. Moved it inside the effect with an empty dependency array so it runs once on mount.