cleand up webapp for building
This commit is contained in:
1 parent
3526fbd9ee
commit
a626a89ed3
3 files changed
+3
-5
No files matched your search
@@ -3,7 +3,7 @@ import { AutomationSequenceNode } from 'types/automations';
|
||||
import { DAGCircleProps } from './DAGCircle';
|
||||
import { DAGNodeProps } from './DAGNode';
|
||||
import { AutomationTrigger } from 'types/automations/triggers';
|
||||
import { MultiNodeEditorProps } from 'components/MultiNodeEditors';
|
||||
import { MultiNodeEditorProps } from 'components/MultiNodeEditors/types';
|
||||
|
||||
|
||||
export type DAGAutomationFlowDims = {
|
||||
|
||||
@@ -19,7 +19,7 @@ export const InputList: FC<Props<any>> = ({
|
||||
const { classes } = useInputListStyles({
|
||||
invalidCurrent
|
||||
});
|
||||
return <InputWrapper label={label} labelSize={'small'} noMargin error={invalidCurrent && "Invalid Selection"}>
|
||||
return <InputWrapper label={label} labelSize={'small'} noMargin error={invalidCurrent ? "Invalid Selection" : undefined}>
|
||||
<select
|
||||
title={invalidCurrent ? "Invalid Selection" : ""}
|
||||
className={classes.input}
|
||||
|
||||
@@ -1,9 +1,7 @@
|
||||
import "./index.css";
|
||||
import { FC, useEffect, useState } from 'react';
|
||||
import { AutomationNode, AutomationNodeMapping } from 'types/automations';
|
||||
import { FC } from 'react';
|
||||
import { NodeEditor } from 'components/NodeEditor';
|
||||
import { Button } from 'components/Inputs/Button';
|
||||
import { AutomationTriggerDevice } from 'types/automations/triggers';
|
||||
import { useMultiNodeEditorState } from "./state";
|
||||
import { MultiNodeEditorProps } from "./types";
|
||||
|
||||
|
||||
Reference in new issue
Block a user