Merge pull request #888 from arc53/fix/parsing-chunks-issue

Fix parsing issue with chunks in store.ts
This commit is contained in:
Alex
2024-03-23 11:47:11 +00:00
committed by GitHub

View File

@@ -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