From c73a91a0f5d90a3a4b341feba3aff30c7aaed4b9 Mon Sep 17 00:00:00 2001 From: Yidadaa Date: Mon, 11 Sep 2023 00:24:05 +0800 Subject: [PATCH] fixup: fix type errors --- app/store/chat.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/store/chat.ts b/app/store/chat.ts index 9b603902..269cc4a3 100644 --- a/app/store/chat.ts +++ b/app/store/chat.ts @@ -195,7 +195,7 @@ export const useChatStore = createPersistStore( }); }, - newSession(mask: Mask) { + newSession(mask?: Mask) { const session = createEmptySession(); if (mask) {