Skip to content

Commit 20fd52a

Browse files
replaced Dialog with Modal in the confirm
1 parent eb759b7 commit 20fd52a

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/lib/components/confirm.svelte

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script lang="ts">
22
import { Button, Form, InputCheckbox } from '$lib/elements/forms';
3-
import { Alert, Dialog, Layout, Modal } from '@appwrite.io/pink-svelte';
3+
import { Alert, Layout, Modal } from '@appwrite.io/pink-svelte';
44
55
export let open: boolean;
66
export let title: string;
@@ -24,7 +24,7 @@
2424
</script>
2525

2626
<Form isModal {onSubmit}>
27-
<Dialog {title} bind:open>
27+
<Modal bind:open {title} size="s">
2828
<Layout.Stack gap="xl">
2929
{#if error}
3030
<Alert.Inline
@@ -66,5 +66,5 @@
6666
</slot>
6767
</Layout.Stack>
6868
</svelte:fragment>
69-
</Dialog>
69+
</Modal>
7070
</Form>

src/routes/(console)/project-[region]-[project]/settings/deleteProject.svelte

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
trackError(e, Submit.ProjectDelete);
4040
}
4141
};
42-
4342
</script>
4443

4544
<CardGrid>

0 commit comments

Comments
 (0)