From 82bec803bac85f4656fa1361e3eb34dbf8408874 Mon Sep 17 00:00:00 2001 From: burnettk Date: Mon, 20 Jun 2022 23:22:19 -0400 Subject: [PATCH] lint --- src/routes/ProcessInstanceShow.js | 1 - src/routes/ProcessModelEdit.js | 1 - src/routes/ProcessModelShow.js | 3 +-- 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/routes/ProcessInstanceShow.js b/src/routes/ProcessInstanceShow.js index 291b2f3..d8cbf86 100644 --- a/src/routes/ProcessInstanceShow.js +++ b/src/routes/ProcessInstanceShow.js @@ -5,7 +5,6 @@ import { Button } from 'react-bootstrap' import ProcessBreadcrumb from '../components/ProcessBreadcrumb' export default function ProcessInstanceShow(props) { - const [error, setError] = useState(null); const navigate = useNavigate(); const params = useParams(); diff --git a/src/routes/ProcessModelEdit.js b/src/routes/ProcessModelEdit.js index 9830090..ffa5fb0 100644 --- a/src/routes/ProcessModelEdit.js +++ b/src/routes/ProcessModelEdit.js @@ -3,7 +3,6 @@ import { useParams, useNavigate } from "react-router-dom"; import { BACKEND_BASE_URL } from '../config'; import { HOT_AUTH_TOKEN, STANDARD_HEADERS } from '../config'; import ProcessBreadcrumb from '../components/ProcessBreadcrumb' -import { slugifyString } from '../helpers' import { Button, Stack } from 'react-bootstrap' export default function ProcessModelEdit() { diff --git a/src/routes/ProcessModelShow.js b/src/routes/ProcessModelShow.js index c079abd..d712585 100644 --- a/src/routes/ProcessModelShow.js +++ b/src/routes/ProcessModelShow.js @@ -1,5 +1,5 @@ import React, { useEffect, useState } from "react"; -import { Link, useNavigate } from "react-router-dom"; +import { Link } from "react-router-dom"; import { BACKEND_BASE_URL } from '../config'; import { HOT_AUTH_TOKEN } from '../config'; import { useParams } from "react-router-dom"; @@ -9,7 +9,6 @@ import { Button, Stack } from 'react-bootstrap' export default function ProcessModelShow() { let params = useParams(); - const navigate = useNavigate(); const [processModel, setProcessModel] = useState(null); const [processInstanceResult, setProcessInstanceResult] = useState(null);