From 556effbf6bd52cf5e766d6108e696cb5deeeb8b4 Mon Sep 17 00:00:00 2001 From: Martin Stamm Date: Thu, 26 Sep 2024 13:58:00 +0200 Subject: [PATCH] make linter happy --- client/src/app/tabs/bpmn/BpmnTab.js | 2 +- .../tabs/robot/BottomPanel/Run/RobotOutputTab.js | 2 +- .../src/app/tabs/robot/BottomPanel/Run/RunForm.js | 14 +++++++------- client/src/app/tabs/robot/BottomPanel/Run/index.js | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/client/src/app/tabs/bpmn/BpmnTab.js b/client/src/app/tabs/bpmn/BpmnTab.js index 32d3243fd3..b2ae2ceafb 100644 --- a/client/src/app/tabs/bpmn/BpmnTab.js +++ b/client/src/app/tabs/bpmn/BpmnTab.js @@ -8,7 +8,7 @@ * except in compliance with the MIT License. */ -import BpmnEditor from './BpmnEditor'; +// import BpmnEditor from './BpmnEditor'; import XMLEditor from '../xml'; import { createTab } from '../EditorTab'; diff --git a/client/src/app/tabs/robot/BottomPanel/Run/RobotOutputTab.js b/client/src/app/tabs/robot/BottomPanel/Run/RobotOutputTab.js index fe9c5632a0..4358340668 100644 --- a/client/src/app/tabs/robot/BottomPanel/Run/RobotOutputTab.js +++ b/client/src/app/tabs/robot/BottomPanel/Run/RobotOutputTab.js @@ -13,7 +13,7 @@ import { Fill } from '../../../../slot-fill'; import { Modal } from '../../../../../shared/ui'; import './RobotOutputTab.less'; -import { Button, CodeSnippet, CodeSnippetSkeleton, Column, Grid, Heading, Layer, Section, Stack, TextInput, Tile, Form, TextArea, FlexGrid } from '@carbon/react'; +import { Button, CodeSnippet, CodeSnippetSkeleton, Column, Grid, Heading, Layer, Section, Stack, TextInput, Tile, Form, TextArea } from '@carbon/react'; import './carbon.scss'; import { useLocalState } from '../useLocalState'; diff --git a/client/src/app/tabs/robot/BottomPanel/Run/RunForm.js b/client/src/app/tabs/robot/BottomPanel/Run/RunForm.js index a028a78042..5a12f0c909 100644 --- a/client/src/app/tabs/robot/BottomPanel/Run/RunForm.js +++ b/client/src/app/tabs/robot/BottomPanel/Run/RunForm.js @@ -153,10 +153,10 @@ const validateEndpointURL = async (value) => { } }; -const validateVariables = async (value) => { - try { - JSON.parse(value); - } catch (error) { - return 'Invalid JSON'; - } -}; \ No newline at end of file +// const validateVariables = async (value) => { +// try { +// JSON.parse(value); +// } catch (error) { +// return 'Invalid JSON'; +// } +// }; \ No newline at end of file diff --git a/client/src/app/tabs/robot/BottomPanel/Run/index.js b/client/src/app/tabs/robot/BottomPanel/Run/index.js index fad51de952..6e9da9ebaa 100644 --- a/client/src/app/tabs/robot/BottomPanel/Run/index.js +++ b/client/src/app/tabs/robot/BottomPanel/Run/index.js @@ -8,7 +8,7 @@ * except in compliance with the MIT License. */ -import React, { useState } from 'react'; +import React from 'react'; import RunButton from './RunButton'; import RobotOutputTab from './RobotOutputTab';