Logo
Explore Help
Register Sign In
torbo/flyer-crawler.projectium.com
1
0
Fork 0
You've already forked flyer-crawler.projectium.com
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
958 Commits 1 Branch 314 Tags
4bf5dc3d58e28db3156da434746a8478bee6db27
Commit Graph

1 Commits

Author SHA1 Message Date
Torben Sorensen
a726c270bb Refactor the "God Component" (App.tsx) Your App.tsx has lower branch coverage (77%) and uncovered lines. This usually means it's doing too much: managing routing, auth state checks, theme toggling, and global error handling. Move Logic to "Initialization Hooks": Create a useAppInitialization hook that handles the OAuth token check, version check, and theme sync. Use Layouts for Routing: Move the "What's New" modal and "Anonymous Banner" into the MainLayout or a specialized AppGuard component, leaving App.tsx as a clean list of Routes.
Some checks failed
Deploy to Test Environment / deploy-to-test (push) Failing after 56s
Details
2025-12-27 21:13:15 -08:00
Powered by Gitea Version: 1.25.1 Page: 42ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API