mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
Merge pull request #2267 from appwrite/fix-wrong-derived-usage
fix(alerts): header banner not showing due to wrong derived usage
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
onEmailBannerClose: (closed: boolean) => void;
|
||||
}>();
|
||||
|
||||
const isOnOnboarding = $derived(() => page.route?.id?.includes('/(console)/onboarding'));
|
||||
const isOnOnboarding = $derived(page.url?.pathname?.includes('/console/onboarding'));
|
||||
|
||||
const hasUser = $derived(!!$user);
|
||||
const needsEmailVerification = $derived(hasUser && !$user.emailVerification);
|
||||
|
||||
Reference in New Issue
Block a user