Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
anshuthopsee committed Nov 30, 2023
1 parent 40c1cba commit 6842f23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/store.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const store = configureStore({

const savedCustomStrategies = JSON.parse(localStorage.getItem("customStrategies"));

if (savedCustomStrategies.length > 0) {
if (savedCustomStrategies?.length > 0) {
store.dispatch(setCustomStrategies(savedCustomStrategies));
};

Expand Down

0 comments on commit 6842f23

Please sign in to comment.