Skip to content

Commit 10310ff

Browse files
committed
Test fix
1 parent 74c9b08 commit 10310ff

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/routes/(v2)/v2/spa-action-2/+page.svelte

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,10 @@
1313
onUpdate({ result }) {
1414
const status = result.data as NonNullable<ActionData>;
1515
const entry = data.entries.find((e) => e.id == status.posted);
16-
if (entry) entry.name = 'Modified ' + status.posted;
16+
if (entry) {
17+
entry.name = 'Modified ' + status.posted;
18+
data = data;
19+
}
1720
}
1821
});
1922
</script>

0 commit comments

Comments
 (0)