Skip to content

Commit

Permalink
Remove unnecessary null check
Browse files Browse the repository at this point in the history
  • Loading branch information
adrinr committed Dec 19, 2024
1 parent 079aa76 commit ffab29c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/builder/src/stores/builder/tables.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ export class TableStore extends DerivedBudiStore<
if (!table?._id) {
return
}
await API.deleteTable(table._id, table._rev || "rev")
await API.deleteTable(table._id, table._rev)
this.replaceTable(table._id, null)
}

Expand Down

0 comments on commit ffab29c

Please sign in to comment.