Yidadaa пре 1 година
родитељ
комит
c73a91a0f5
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      app/store/chat.ts

+ 1 - 1
app/store/chat.ts

@@ -195,7 +195,7 @@ export const useChatStore = createPersistStore(
         });
       },
 
-      newSession(mask: Mask) {
+      newSession(mask?: Mask) {
         const session = createEmptySession();
 
         if (mask) {