support for malformed automations
This commit is contained in:
1 parent
6c57408f27
commit
a19db93c37
35 files changed
+683
-161
No files matched your search
@@ -8,10 +8,6 @@ import InputYaml from 'components/Inputs/InputYaml';
|
||||
|
||||
type UseState = <S>(s: S) => [S, Dispatch<SetStateAction<S>>]
|
||||
|
||||
const mockUseState: UseState = s => {
|
||||
return [s, () => { }]
|
||||
}
|
||||
|
||||
export const useEditorNodeState = (originalNode: AutomationNode, uState: UseState = useState) => {
|
||||
const [allState, setAllState] = uState({
|
||||
node: originalNode,
|
||||
|
||||
Reference in new issue
Block a user