Skip to content

Conversation

@sea-snake
Copy link
Contributor

@sea-snake sea-snake commented Nov 4, 2025

Fix manually reroute.

Changes

  • Avoid importing it from hook.ts since that result in a Vite warning (it's dynamically imported by SvelteKit).
  • Run it inside $effect since running it outside had caused occasional flaky issues with (pre)rendering the page.

Tests

Verified that both rerouting and manual rerouting are still working as expected.

@sea-snake sea-snake requested a review from lmuntaner November 4, 2025 14:53
@sea-snake sea-snake enabled auto-merge November 4, 2025 14:56
@sea-snake sea-snake added this pull request to the merge queue Nov 4, 2025
Merged via the queue into main with commit f39b072 Nov 4, 2025
74 of 75 checks passed
@sea-snake sea-snake deleted the sea-snake/fix-reroute branch November 4, 2025 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants