diff --git a/package.json b/package.json index f148169..6bc70bd 100644 --- a/package.json +++ b/package.json @@ -68,8 +68,8 @@ "nodemon": "^2.0.15", "react": "^18.1.0", "react-dom": "^18.1.0", - "@vitejs/plugin-react": "1.1.1", - "vite": "2.7.0", + "@vitejs/plugin-react": "1.1.1", + "vite": "2.7.0", "readline-sync": "^1.4.10", "rollup": "^2.72.0", "rollup-plugin-terser": "^7.0.2" diff --git a/src/views/components/FailingBox.jsx b/src/views/components/FailingBox.jsx index b50a7b2..62df505 100644 --- a/src/views/components/FailingBox.jsx +++ b/src/views/components/FailingBox.jsx @@ -75,7 +75,7 @@ export default function FailingBox(props) { } const retryTest = () => retrySingle(failingTest); - + const jobOnClick = () => { switch (testJobStatus) { case jobStatus.OK: @@ -92,9 +92,9 @@ export default function FailingBox(props) { return null; default: return retryTest; - } - } - + } + }; + function jobIcon() { switch (testJobStatus) { case jobStatus.OK: @@ -104,9 +104,9 @@ export default function FailingBox(props) { case jobStatus.PENDING: return ; case jobStatus.ACTIVE: - return ; + return ; case jobStatus.CANCELED: - return ; + return ; case jobStatus.QUEUED: return ; default: