From 3c492062a97947c93d6639e99e751bcffa28bf59 Mon Sep 17 00:00:00 2001 From: Alex Date: Sat, 23 Mar 2024 11:42:50 +0000 Subject: [PATCH] Fix parsing issue with chunks in store.ts --- frontend/src/store.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/store.ts b/frontend/src/store.ts index 232675a..c217648 100644 --- a/frontend/src/store.ts +++ b/frontend/src/store.ts @@ -14,7 +14,7 @@ const store = configureStore({ preloadedState: { preference: { apiKey: key ?? '', - chunks: JSON.parse(chunks ?? '2'), + chunks: JSON.parse(chunks ?? '2').toString(), selectedDocs: doc !== null ? JSON.parse(doc) : null, prompt: prompt !== null