Skip to content

Commit

Permalink
reset isPermutationsHidden when switching permutation mode
Browse files Browse the repository at this point in the history
  • Loading branch information
rennacarver committed Oct 23, 2024
1 parent 5b15169 commit 2e11d23
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ input {
position: relative;
top: 10px;
left: 3px;
width: calc(20px + 2vw);
width: calc(25px + 2vw);
}

.small {
Expand Down
1 change: 1 addition & 0 deletions src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ function App() {

const handlePermModeChange = () => {
setPermutationMode(!isPermutationMode)
setIsPermutationsHidden(false)
}

const handleCaseModeChange = () => {
Expand Down

0 comments on commit 2e11d23

Please sign in to comment.