fix: share chat modal

This commit is contained in:
Timothy J. Baek
2024-04-02 08:58:03 -07:00
parent 9975cb17a9
commit eca59f759d
@@ -73,9 +73,11 @@
export let show = false; export let show = false;
onMount(async () => { onMount(async () => {
chat = await getChatById(localStorage.token, $chatId); chatId.subscribe(async (value) => {
chat = await getChatById(localStorage.token, value);
console.log(chat); console.log(chat);
}); });
});
</script> </script>
<Modal bind:show size="sm"> <Modal bind:show size="sm">