Skip to content

Commit

Permalink
Fix: update lineGraphColor assignment to use result.data
Browse files Browse the repository at this point in the history
  • Loading branch information
shm11C3 committed Dec 7, 2024
1 parent 45fa1a9 commit 4f9cad7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/atom/useSettingsAtom.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export const useSettingsAtom = () => {

setSettings((prev) => ({
...prev,
lineGraphColor: { ...prev.lineGraphColor, [key]: result },
lineGraphColor: { ...prev.lineGraphColor, [key]: result.data },
}));
};

Expand Down

0 comments on commit 4f9cad7

Please sign in to comment.