Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
This commit is contained in:
gpt-engineer-app[bot]
2026-04-26 08:16:54 +00:00
co-authored by renee-png
parent f3cc5358be
commit f349a12041
+4 -2
View File
@@ -462,9 +462,11 @@ export function CollectionDetail({
if (error) {
toast.error("Could not save", { description: error.message });
load();
} else {
onChange();
}
// NOTE: intentionally do NOT call onChange() here. Inline cell edits are
// optimistic; bumping the parent reload counter caused the entire
// collection page to refetch and visually scroll. Heavier mutations
// (add/remove/reorder/post interest/etc.) still call onChange().
};
// Insert a new row at the end. Optional preset for transaction_type / description.