diff --git a/packages/bbui/src/Modal/ModalContent.svelte b/packages/bbui/src/Modal/ModalContent.svelte
index 16338b1ed2..dae9b9e8af 100644
--- a/packages/bbui/src/Modal/ModalContent.svelte
+++ b/packages/bbui/src/Modal/ModalContent.svelte
@@ -16,7 +16,7 @@
export let onConfirm = undefined
export let disabled = false
- const { hide } = getContext(Context.Modal)
+ const { hide, cancel } = getContext(Context.Modal)
let loading = false
$: confirmDisabled = disabled || loading
@@ -56,7 +56,7 @@
>
{#if showCancelButton}
-
+
{/if}
{#if showConfirmButton}