File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 15
15
import { upgradeURL } from ' $lib/stores/billing' ;
16
16
import { addBottomModalAlerts } from ' $routes/(console)/bottomAlerts' ;
17
17
import { project } from ' $routes/(console)/project-[region]-[project]/store' ;
18
- import { page } from ' $app/state ' ;
18
+ import { page } from ' $app/stores ' ;
19
19
import { Click , trackEvent } from ' $lib/actions/analytics' ;
20
20
import { goto } from ' $app/navigation' ;
21
21
import { Typography } from ' @appwrite.io/pink-svelte' ;
51
51
});
52
52
}
53
53
54
- $ : filteredModalAlerts = filterModalAlerts ($bottomModalAlertsConfig .alerts , page .route .id );
54
+ $ : filteredModalAlerts = filterModalAlerts ($bottomModalAlertsConfig .alerts , $ page .route .id );
55
55
56
56
$ : currentModalAlert = filteredModalAlerts [currentIndex ] as BottomModalAlertItem ;
57
57
161
161
});
162
162
</script >
163
163
164
- {#if filteredModalAlerts .length > 0 && currentModalAlert && ! page .url .pathname .includes (' console/onboarding' )}
164
+ {#if filteredModalAlerts .length > 0 && currentModalAlert && ! $ page .url .pathname .includes (' console/onboarding' )}
165
165
{@const shouldShowUpgrade = showUpgrade ()}
166
166
<div class =" main-alert-wrapper is-not-mobile" >
167
167
<div class =" alert-container" >
You can’t perform that action at this time.
0 commit comments