flipped trigger + condition

createMode for condition editor
This commit is contained in:
ari committed 2022-07-10 12:59:33 -04:00
1 parent f549993d3e
commit e7dec306df
10 files changed
+51 -30

No files matched your search

@@ -18,8 +18,8 @@ type UseState = <S>(s: S) => [S, Dispatch<SetStateAction<S>>];
export const useEditorNodeState = (
originalNode: AutomationNode,
isErrored: boolean,
allowedTypes: AutomationNodeTypes[],
createMode: boolean,
uState: UseState = useState
) => {
// state
@@ -153,6 +153,7 @@ export const useEditorNodeState = (
state={currentNode}
setState={setState}
ha={ha}
createMode={createMode}
/>
)}
</>