refac
This commit is contained in:
@@ -157,8 +157,8 @@
|
|||||||
await archiveChatById(localStorage.token, id);
|
await archiveChatById(localStorage.token, id);
|
||||||
|
|
||||||
if ($chatId === id) {
|
if ($chatId === id) {
|
||||||
|
await goto('/');
|
||||||
chatId.set('');
|
chatId.set('');
|
||||||
window.history.replaceState({}, '', '/');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
dispatch('change');
|
dispatch('change');
|
||||||
|
|||||||
Reference in New Issue
Block a user