refac
This commit is contained in:
@@ -133,7 +133,9 @@
|
|||||||
await temporaryChatEnabled.set(!$temporaryChatEnabled);
|
await temporaryChatEnabled.set(!$temporaryChatEnabled);
|
||||||
}
|
}
|
||||||
|
|
||||||
await goto('/');
|
if ($page.url.pathname !== '/') {
|
||||||
|
await goto('/');
|
||||||
|
}
|
||||||
|
|
||||||
// add 'temporary-chat=true' to the URL
|
// add 'temporary-chat=true' to the URL
|
||||||
if ($temporaryChatEnabled) {
|
if ($temporaryChatEnabled) {
|
||||||
|
|||||||
Reference in New Issue
Block a user