We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74c9b08 commit 10310ffCopy full SHA for 10310ff
src/routes/(v2)/v2/spa-action-2/+page.svelte
@@ -13,7 +13,10 @@
13
onUpdate({ result }) {
14
const status = result.data as NonNullable<ActionData>;
15
const entry = data.entries.find((e) => e.id == status.posted);
16
- if (entry) entry.name = 'Modified ' + status.posted;
+ if (entry) {
17
+ entry.name = 'Modified ' + status.posted;
18
+ data = data;
19
+ }
20
}
21
});
22
</script>
0 commit comments