Yidadaa 1 жил өмнө
parent
commit
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) {