From 74b338ac1786d057b42f66ed4c6854279bd9c600 Mon Sep 17 00:00:00 2001 From: Cole Lawrence Date: Mon, 1 Aug 2022 10:21:22 -0400 Subject: [PATCH] refactor: Remove unecessary `data-header` & `?? noop` for event listener --- theatre/studio/src/panels/OutlinePanel/BaseItem.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/theatre/studio/src/panels/OutlinePanel/BaseItem.tsx b/theatre/studio/src/panels/OutlinePanel/BaseItem.tsx index 5f1e168..4c5e133 100644 --- a/theatre/studio/src/panels/OutlinePanel/BaseItem.tsx +++ b/theatre/studio/src/panels/OutlinePanel/BaseItem.tsx @@ -1,7 +1,6 @@ import type {VoidFn} from '@theatre/shared/utils/types' import React from 'react' import styled, {css} from 'styled-components' -import noop from '@theatre/shared/utils/noop' import {pointerEventsAutoInNormalMode} from '@theatre/studio/css' import {ChevronDown, Package} from '@theatre/studio/uiComponents/icons' @@ -140,7 +139,7 @@ const BaseItem: React.FC<{ {'--depth': depth} } > -
+
{canContainChildren ? (