## Summary - Prevents the landing page from briefly flashing before redirecting to `/dashboard` when accessing from an installed PWA - Detects standalone mode synchronously via a `useState` initializer so the spinner renders on the very first paint - Shows a centered loading spinner instead of the full landing page while the redirect happens ## Test plan - [x] Open the app as an installed PWA and verify a spinner shows instead of the landing page before redirecting to dashboard - [x] Open the landing page in a regular browser and verify the full landing page renders normally with no spinner |
||
|---|---|---|
| .. | ||
| Browser | ||
| Feature | ||
| Unit | ||
| Pest.php | ||
| TestCase.php | ||