Skip to content

Commit

Permalink
Merge pull request #2370 from OneCommunityGlobal/Nahiyan_Fix-Projects…
Browse files Browse the repository at this point in the history
…-table-when-in-dark-mode

Nahiyan_Fix projects table when toggling dark mode
  • Loading branch information
one-community authored Jul 19, 2024
2 parents b145642 + 07e3e60 commit 1eb71be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Projects/Projects.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ const Projects = function(props) {
hasInactiveBtn: false,
});
}
}, [categorySelectedForSort, showStatus, sortedByName, props.state.allProjects]);
}, [categorySelectedForSort, showStatus, sortedByName, props.state.allProjects, props.state.theme.darkMode]);

useEffect(() => {
const fetchProjects = async () => {
Expand Down

0 comments on commit 1eb71be

Please sign in to comment.