refactor: Remove unused imports and update GenericNode component
This commit is contained in:
parent
108514b734
commit
d3cc15d15e
1 changed files with 1 additions and 6 deletions
|
|
@ -57,12 +57,7 @@ export default function GenericNode({
|
||||||
const updateNodeInternals = useUpdateNodeInternals();
|
const updateNodeInternals = useUpdateNodeInternals();
|
||||||
const setErrorData = useAlertStore((state) => state.setErrorData);
|
const setErrorData = useAlertStore((state) => state.setErrorData);
|
||||||
const isDark = useDarkStore((state) => state.dark);
|
const isDark = useDarkStore((state) => state.dark);
|
||||||
const buildStatus = useFlowStore(
|
|
||||||
(state) => state.flowBuildStatus[data.id]?.status
|
|
||||||
);
|
|
||||||
const lastRunTime = useFlowStore(
|
|
||||||
(state) => state.flowBuildStatus[data.id]?.timestamp
|
|
||||||
);
|
|
||||||
const takeSnapshot = useFlowsManagerStore((state) => state.takeSnapshot);
|
const takeSnapshot = useFlowsManagerStore((state) => state.takeSnapshot);
|
||||||
|
|
||||||
const [inputName, setInputName] = useState(false);
|
const [inputName, setInputName] = useState(false);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue