refac: styling

This commit is contained in:
Timothy Jaeryang Baek
2025-06-16 12:04:15 +04:00
parent 4db0da2b75
commit ba6fc385bb
2 changed files with 11 additions and 0 deletions

View File

@@ -858,6 +858,11 @@
const loadChat = async () => {
chatId.set(chatIdProp);
if ($temporaryChatEnabled) {
temporaryChatEnabled.set(false);
}
chat = await getChatById(localStorage.token, $chatId).catch(async (error) => {
await goto('/');
return null;