Commit c6296e51 authored by Timothy J. Baek's avatar Timothy J. Baek
Browse files

fix: share chat modal

parent dd9cbd0a
...@@ -73,9 +73,11 @@ ...@@ -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">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment