Fix parsing issue with chunks in store.ts

fix/parsing-chunks-issue
Alex 2 months ago
parent b26b49d0ca
commit 3c492062a9

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

Loading…
Cancel
Save