From 2ca4dec7005ba48daf4df6b50e8f7315c69516a5 Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Thu, 19 Dec 2024 17:15:28 +0100 Subject: [PATCH] Clean code --- packages/builder/src/stores/builder/tables.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/packages/builder/src/stores/builder/tables.ts b/packages/builder/src/stores/builder/tables.ts index 31b3a64b5b..d7eb7d89f2 100644 --- a/packages/builder/src/stores/builder/tables.ts +++ b/packages/builder/src/stores/builder/tables.ts @@ -141,9 +141,6 @@ export class TableStore extends DerivedBudiStore< } async delete(table: { _id: string; _rev: string }) { - if (!table?._id) { - return - } await API.deleteTable(table._id, table._rev) this.replaceTable(table._id, null) }