fixed build issues
This commit is contained in:
1 parent
738712e946
commit
af600aaf57
3 files changed
+6
-5
No files matched your search
@@ -124,7 +124,7 @@ export const AutomationEditor: FC<Props> = ({
|
||||
type: "",
|
||||
subtype: ""
|
||||
},
|
||||
onSave: (t) => updateTrigger([...automation.trigger, t])
|
||||
onSave: (t) => updateTrigger([...state.data.trigger, t])
|
||||
});
|
||||
},
|
||||
(trigger, onSave) => setModalState({
|
||||
|
||||
@@ -9,7 +9,7 @@ export type EditorState = {
|
||||
} | {
|
||||
status: 'loading'
|
||||
}
|
||||
export type EditorStatus = EditorState[0];
|
||||
export type EditorStatus = EditorState['status'];
|
||||
|
||||
export const useAutomatioEditorState = (
|
||||
automation: AutomationData,
|
||||
|
||||
Reference in new issue
Block a user