Skip to content

Commit

Permalink
refactor: simplify stringification
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasheartman committed Oct 14, 2024
1 parent da9b38f commit 26b6e7e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frontend/src/component/personalDashboard/useDashboardState.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ export const useDashboardState = (
updateState(updates);
}
}, [
JSON.stringify(projects, null, 2),
JSON.stringify(flags, null, 2),
JSON.stringify(state, null, 2),
JSON.stringify(projects),
JSON.stringify(flags),
JSON.stringify(state),
]);

const { activeFlag, activeProject } = state;
Expand Down

0 comments on commit 26b6e7e

Please sign in to comment.