Lint all the things

This commit is contained in:
Dave
2025-08-19 16:23:29 -04:00
parent f6d6b548be
commit 33fb60ca1a
640 changed files with 2129 additions and 3927 deletions

View File

@@ -1,5 +1,4 @@
import { Button } from "antd";
import React from "react";
import { useTranslation } from "react-i18next";
import { SyncOutlined } from "@ant-design/icons";
import { useNavigate } from "react-router-dom";
@@ -10,7 +9,7 @@ export default function JobSyncButton({ job }) {
const handleClick = () => {
history(`/manage/available?availableJobId=${job.available_jobs[0].id}&clm_no=${job.clm_no}`);
};
if (job && job.available_jobs && job.available_jobs.length > 0)
if (job?.available_jobs && job.available_jobs.length > 0)
return (
<Button onClick={handleClick}>
<SyncOutlined />