From a0994051d6fc97cb59c6ae5706e6d51a77cf6cf7 Mon Sep 17 00:00:00 2001 From: Cole Lawrence Date: Mon, 1 Aug 2022 10:15:50 -0400 Subject: [PATCH] GraphEditorToggle: Remove unecessary `sheet` access --- .../studio/src/panels/SequenceEditorPanel/GraphEditorToggle.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/theatre/studio/src/panels/SequenceEditorPanel/GraphEditorToggle.tsx b/theatre/studio/src/panels/SequenceEditorPanel/GraphEditorToggle.tsx index f57d6a9..549378a 100644 --- a/theatre/studio/src/panels/SequenceEditorPanel/GraphEditorToggle.tsx +++ b/theatre/studio/src/panels/SequenceEditorPanel/GraphEditorToggle.tsx @@ -52,7 +52,6 @@ const GraphEditorToggle: React.FC<{ }> = ({layoutP}) => { const isOpen = useVal(layoutP.graphEditorDims.isOpen) const toggle = useCallback(() => { - const sheet = val(layoutP.sheet) const isOpen = val(layoutP.graphEditorDims.isOpen) getStudio()!.transaction(({stateEditors}) => { stateEditors.studio.historic.panels.sequenceEditor.graphEditor.setIsOpen({