fix: remove reactive label from onDestroy in Markdown
This commit is contained in:
@@ -82,7 +82,7 @@
|
|||||||
$: updateHandler(content);
|
$: updateHandler(content);
|
||||||
|
|
||||||
// Throttle parsing to once per animation frame while streaming
|
// Throttle parsing to once per animation frame while streaming
|
||||||
$: onDestroy(() => {
|
onDestroy(() => {
|
||||||
cancelAnimationFrame(pendingUpdate);
|
cancelAnimationFrame(pendingUpdate);
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user