diff --git a/src/lib/components/bottomModalAlert.svelte b/src/lib/components/bottomModalAlert.svelte index 933fa6d02..064ac1b55 100644 --- a/src/lib/components/bottomModalAlert.svelte +++ b/src/lib/components/bottomModalAlert.svelte @@ -3,7 +3,12 @@ import { Button } from '$lib/elements/forms/index'; import { hideNotification, shouldShowNotification } from '$lib/helpers/notifications'; import { app } from '$lib/stores/app'; - import { type BottomModalAlertItem, bottomModalAlerts, dismissBottomModalAlert, hideAllModalAlerts } from '$lib/stores/bottom-alerts'; + import { + type BottomModalAlertItem, + bottomModalAlerts, + dismissBottomModalAlert, + hideAllModalAlerts + } from '$lib/stores/bottom-alerts'; let currentIndex = 0; let openModalOnMobile = false; @@ -244,8 +249,7 @@ {/if} diff --git a/src/lib/stores/bottom-alerts.ts b/src/lib/stores/bottom-alerts.ts index aba59f6b1..b457906b3 100644 --- a/src/lib/stores/bottom-alerts.ts +++ b/src/lib/stores/bottom-alerts.ts @@ -30,8 +30,8 @@ export type BottomModalAlertItem = { export const bottomModalAlerts = writable([]); export const hideAllModalAlerts = () => { - bottomModalAlerts.update((all) => all.filter((t) => t.show = false)); -} + bottomModalAlerts.update((all) => all.filter((t) => (t.show = false))); +}; export const dismissBottomModalAlert = (id: string) => { bottomModalAlerts.update((all) => all.filter((t) => t.id !== id)); diff --git a/src/routes/(console)/project-[project]/store.ts b/src/routes/(console)/project-[project]/store.ts index 53cef4df1..3bfda9433 100644 --- a/src/routes/(console)/project-[project]/store.ts +++ b/src/routes/(console)/project-[project]/store.ts @@ -56,7 +56,7 @@ const listOfPromotions: BottomModalAlertItem[] = [ id: 'memberRoles', src: { dark: RolesSampleDark, - light: RolesSampleLight, + light: RolesSampleLight }, title: 'Member roles now available', message: