fix: edit message issue

This commit is contained in:
Timothy J. Baek 2024-01-01 11:47:23 -08:00
parent 6594661d24
commit 7000a52485
2 changed files with 7 additions and 0 deletions

View file

@ -33,6 +33,8 @@
let speaking = null; let speaking = null;
$: if (message) { $: if (message) {
edit = false;
editedContent = '';
renderStyling(); renderStyling();
} }

View file

@ -39,6 +39,11 @@
edit = false; edit = false;
editedContent = ''; editedContent = '';
}; };
$: if (message) {
edit = false;
editedContent = '';
}
</script> </script>
<div class=" flex w-full"> <div class=" flex w-full">