refactor: Remove unused imports and update GenericNode component

This commit is contained in:
ogabrielluiz 2024-06-10 19:00:36 -03:00
commit d3cc15d15e

View file

@ -57,12 +57,7 @@ export default function GenericNode({
const updateNodeInternals = useUpdateNodeInternals();
const setErrorData = useAlertStore((state) => state.setErrorData);
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 [inputName, setInputName] = useState(false);