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

fix: share chat modal

parent dd9cbd0a
...@@ -73,8 +73,10 @@ ...@@ -73,8 +73,10 @@
export let show = false; export let show = false;
onMount(async () => { onMount(async () => {
chat = await getChatById(localStorage.token, $chatId); chatId.subscribe(async (value) => {
console.log(chat); chat = await getChatById(localStorage.token, value);
console.log(chat);
});
}); });
</script> </script>
......
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