Skip to content

Commit f6a684a

Browse files
committed
Merge remote-tracking branch 'origin/add-csv-import-docs' into add-csv-import-docs
2 parents 79a0bb0 + 249a9c7 commit f6a684a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/markdoc/tags/TabsItem.svelte

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,13 @@
1111
context.triggers.push({ id, title });
1212
return context;
1313
});
14+
15+
return () => {
16+
ctx.update((context) => {
17+
context.triggers = context.triggers.filter((trigger) => trigger.id !== id);
18+
return context;
19+
});
20+
};
1421
});
1522
</script>
1623

0 commit comments

Comments
 (0)