-
Notifications
You must be signed in to change notification settings - Fork 1
Incorrect route or tabs supplied for IonTabs #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi The second is a warning right? You should ignore that one Tom |
The first one is the warning, the second one is the error from Ionic - related to this issue #1. The warning only happened when first time loading the app. Also when first time loading, the route is not going straight to Thanks! |
I got 2 problems:
... fixed by doing this:
<script lang="ts">
import { goto } from '$app/navigation';
setTimeout(() => goto("/overview"), 0);
</script> I don't know why adding setTimeout() worked. One problem still remain is the error |
Can you tell me what I did wrong here?
Pre-produce:
https://stackblitz.com/edit/github-detvbz?file=src%2Froutes%2F%2Bpage.svelte,src%2Froutes%2F%2Blayout.svelte,src%2Froutes%2Fhome%2F%2Bpage.svelte,src%2Froutes%2Fpeople%2F%2Bpage.svelte,src%2Froutes%2F%2Blayout.ts
I am keep getting this on first load...
Incorrect route or tabs supplied for IonTabs
and this on every time I click on the tab button:
tab with id: "undefined" does not exist
Thanks,
The text was updated successfully, but these errors were encountered: