fix: share chat modal
This commit is contained in:
1 parent
dd9cbd0ab9
commit
c6296e5108
1 file changed
+4
-2
@@ -73,8 +73,10 @@
|
||||
export let show = false;
|
||||
|
||||
onMount(async () => {
|
||||
chat = await getChatById(localStorage.token, $chatId);
|
||||
console.log(chat);
|
||||
chatId.subscribe(async (value) => {
|
||||
chat = await getChatById(localStorage.token, value);
|
||||
console.log(chat);
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
Reference in new issue
Block a user