Cleaned the code

This commit is contained in:
gohil-jay
2021-11-14 14:31:47 +05:30
parent de7d079267
commit e79f1e91ae
3 changed files with 4 additions and 53 deletions
-24
View File
@@ -1,7 +1,6 @@
import React, {useRef, useState, useEffect, useLayoutEffect} from 'react';
import { useInterval } from 'react-powerhooks';
import { useTheme } from '@material-ui/core/styles';
import ShuffleCodeEditor from "../components/ShuffleCodeEditor.jsx";
import { v4 as uuidv4 } from 'uuid';
import {Link} from 'react-router-dom';
@@ -170,9 +169,6 @@ const AngularWorkflow = (props) => {
selected: "",
})
const [codedata, setcodedata] = React.useState("print('Hello')");
const [expansionModalOpen, setExpansionModalOpen] = React.useState(false);
const [history, setHistory] = React.useState([])
const [historyIndex, setHistoryIndex] = React.useState(history.length)
@@ -7832,12 +7828,6 @@ const AngularWorkflow = (props) => {
globalUrl={globalUrl}
setSelectedActionEnvironment={setSelectedActionEnvironment}
requiresAuthentication={requiresAuthentication}
// onClick={() => {
// // console.log("Clicked field: ", clickedFieldId)
// setExpansionModalOpen(true)
// }
// }
/>
</div>
)
@@ -9449,20 +9439,6 @@ const AngularWorkflow = (props) => {
</ScrollElement>
</div>
)
// const baselabel = selectedAction.label
// return (
// <div style={appApiViewStyle} id="parsed_action_view">
// {<ShuffleCodeEditor
// codedata={codedata}
// setcodedata={setcodedata}
// setExpansionModalOpen={setExpansionModalOpen}
// expansionModalOpen={expansionModalOpen}
// // codelang={codelang}
// // setcodelang={setcodelang}
// />}
// </div>
// )
}
export default AngularWorkflow