Skip to content

Commit

Permalink
Merge pull request #362 from pkpdapp-team/development
Browse files Browse the repository at this point in the history
refactor: fix HelpButton build warning
  • Loading branch information
eatyourgreens authored Mar 8, 2024
2 parents 4d60ae4 + f41756b commit 94e57ad
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions frontend-v2/src/components/HelpButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ const HelpButton: FC<HelpButtonProps> = ({ title, children }) => {
);

useEffect(() => {
if (open) {
setOpen(false);
}
setOpen(false);
}, [selectedPage, selectedSubPage]);

const handleOpen = () => {
Expand Down

0 comments on commit 94e57ad

Please sign in to comment.