Skip to content

Commit

Permalink
name change
Browse files Browse the repository at this point in the history
  • Loading branch information
OlegMoshkovich committed Oct 7, 2022
1 parent 6cd950b commit 202a985
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Components/OperationsGroup.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export default function OperationsGroup({unSelectItem, installPrefix, fileOpen,
const theme = useContext(ColorModeContext)


const selected = () => {
const isSelected = () => {
const ifSelected = (
selectedElement !== null ||
cutPlaneDirection !== null
Expand Down Expand Up @@ -97,7 +97,7 @@ export default function OperationsGroup({unSelectItem, installPrefix, fileOpen,
<TooltipIconButton
title="Clear"
onClick={unSelectItem}
selected={selected()}
selected={isSelected()}
icon={<ClearIcon />}
/>
</ButtonGroup>
Expand Down

0 comments on commit 202a985

Please sign in to comment.