Skip to content

Commit

Permalink
#75 fixed useSetSelected.
Browse files Browse the repository at this point in the history
  • Loading branch information
artzub committed Jan 8, 2021
1 parent 7e96fdc commit 2d364ee
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/StageController/useSetSelected.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ export const useSetSelected = ({ name, selected, items, action, skipCondition, p

const found = items.find((item) => item.name === name);

if (!found) {
return;
}
// if (!found) {
// return;
// }

dispatch(action(found));
},
Expand Down

0 comments on commit 2d364ee

Please sign in to comment.