Remove manual refresh of row after creation

This commit is contained in:
Andrew Kingston 2023-06-02 08:53:47 +01:00
parent adbdaf394a
commit b4def3675a
1 changed files with 1 additions and 2 deletions

View File

@ -214,8 +214,7 @@ export const deriveStores = context => {
const addRow = async (row, idx, bubble = false) => {
try {
// Create row
let newRow = await API.saveRow({ ...row, tableId: get(tableId) })
newRow = await fetchRow(newRow._id)
const newRow = await API.saveRow({ ...row, tableId: get(tableId) })
// Update state
if (idx != null) {