feat: remove setShowOutputData prop

This commit is contained in:
karishmas6
2024-10-19 18:44:52 +05:30
parent 9495b89dc6
commit fac1eab658

View File

@@ -40,10 +40,9 @@ const fetchWorkflow = (id: string, callback: (response: WorkflowFile) => void) =
// 2. Handle non custom action steps
interface RightSidePanelProps {
onFinishCapture: () => void;
setShowOutputData: (show: boolean) => void;
}
export const RightSidePanel: React.FC<RightSidePanelProps> = ({ onFinishCapture, setShowOutputData }) => {
export const RightSidePanel: React.FC<RightSidePanelProps> = ({ onFinishCapture }) => {
const [workflow, setWorkflow] = useState<WorkflowFile>(emptyWorkflow);
const [textLabels, setTextLabels] = useState<{ [id: string]: string }>({});
const [errors, setErrors] = useState<{ [id: string]: string }>({});