Browse Source

fixup: fix type errors

Yidadaa 1 year ago
parent
commit
c73a91a0f5
1 changed files with 1 additions and 1 deletions
  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();
         const session = createEmptySession();
 
 
         if (mask) {
         if (mask) {