chore(app): cleanup

This commit is contained in:
moklick
2023-01-26 10:42:50 +01:00
parent 3078777b28
commit b80efb7dd3
8 changed files with 16 additions and 15 deletions
@@ -10,9 +10,9 @@ const selector = (s: ReactFlowState) => ({
function UserSelection() {
const { userSelectionActive, userSelectionRect } = useStore(selector, shallow);
const showSelectionBox = userSelectionActive && userSelectionRect;
const isActive = userSelectionActive && userSelectionRect;
if (!showSelectionBox) {
if (!isActive) {
return null;
}