packages/client/app/components/NodeArea/SimulationNodes/SimulationNodeWidget/SimulationNodeBody.js
Function renderBezierCurve
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function renderBezierCurve(node, options) {
const { points, invertedCurve } = options.variables;
const [ isCurveDecreasing, setCurveDecreasing ] = useState(invertedCurve);
const handleSwitchChange = (value) => {