Skip to content

Commit a7c4772

Browse files
authored
Merge pull request #21 from Manas-Kenge/fix-lint
run lint and format
2 parents cf66959 + dfd65fc commit a7c4772

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

frontend/packages/volto-workflow-manager/src/components/Controlpanel/WorkflowTable.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -235,11 +235,7 @@ const WorkflowTable = ({ workflows, handleWorkflowClick, isClickable }) => {
235235
>
236236
Cancel
237237
</Button>
238-
<Button
239-
variant="negative"
240-
style="fill"
241-
onPress={handleConfirmDelete}
242-
>
238+
<Button variant="negative" onPress={handleConfirmDelete}>
243239
Delete
244240
</Button>
245241
</ButtonGroup>

frontend/packages/volto-workflow-manager/src/components/Workflow/WorkflowTab.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,6 @@ const WorkflowTab: React.FC<WorkflowTabProps> = ({
4040
(state: GlobalRootState) => state.workflow.workflow.currentWorkflow,
4141
);
4242

43-
const loading = useSelector(
44-
(state: GlobalRootState) => state.workflow.workflow.loading,
45-
);
46-
4743
const [formData, setFormData] = useState<{
4844
title: string;
4945
description: string;

0 commit comments

Comments
 (0)