Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Fix cancel button for enable replication modal (#40475)

Joshen Lim4b2fb65a6794
diff --git a/apps/studio/components/interfaces/Database/ETL/EnableReplicationModal.tsx b/apps/studio/components/interfaces/Database/ETL/EnableReplicationModal.tsx
index a92ae3396cd..a9c716873df 100644
--- a/apps/studio/components/interfaces/Database/ETL/EnableReplicationModal.tsx
+++ b/apps/studio/components/interfaces/Database/ETL/EnableReplicationModal.tsx
@@ -65,7 +65,7 @@ export const EnableReplicationModal = () => {
</Admonition>
</DialogSection>
<DialogFooter>
- <Button type="default" disabled={creatingTenantSource}>
+ <Button type="default" disabled={creatingTenantSource} onClick={() => setOpen(false)}>
Cancel
</Button>
<Button type="primary" loading={creatingTenantSource} onClick={onEnableReplication}>