aboutsummaryrefslogtreecommitdiff
path: root/jb-ui/src/pages/Work.tsx
diff options
context:
space:
mode:
authorMax Nanis2026-09-13 11:43:52 -0700
committerMax Nanis2026-09-13 11:43:52 -0700
commitb464e311b44a5f3baeb1568ba55b6322a1a11638 (patch)
treef478c15fdd1f886ed96135867aa6b32f2b599bee /jb-ui/src/pages/Work.tsx
parent83821dff9984fb950e53f23baf99d7a74fb88abd (diff)
downloadamt-jb-b464e311b44a5f3baeb1568ba55b6322a1a11638.tar.gz
amt-jb-b464e311b44a5f3baeb1568ba55b6322a1a11638.zip
Fix pnpm build error requirements
Diffstat (limited to 'jb-ui/src/pages/Work.tsx')
-rw-r--r--jb-ui/src/pages/Work.tsx12
1 files changed, 6 insertions, 6 deletions
diff --git a/jb-ui/src/pages/Work.tsx b/jb-ui/src/pages/Work.tsx
index 50ed930..6d0b1c1 100644
--- a/jb-ui/src/pages/Work.tsx
+++ b/jb-ui/src/pages/Work.tsx
@@ -47,13 +47,13 @@ import {
} from "@tanstack/react-table";
import { XIcon } from "lucide-react";
import moment from "moment/moment";
-import { useEffect, useRef, useState } from "react";
+import { useEffect, useState } from "react";
import Markdown from "react-markdown";
const Report = ({ onClose }: { onClose: () => void }) => {
- const [showComplete, setShowComplete] = useState(false);
+ const [, setShowComplete] = useState(false);
const [selectedValues, setSelectedValues] = useState<ReportValue[]>([]);
- const { data: user, isLoading, isError } = useGetMeQuery();
+ const { data: user } = useGetMeQuery();
const ts = useAppSelector((state) => state.app.taskStatus);
const handleCheckboxChange = (value: ReportValue, checked: boolean) => {
@@ -197,10 +197,10 @@ const SurveyMonitor = () => {
const [isPolling, setIsPolling] = useState(true);
// const [timeAgo, setTimeAgo] = useState("");
- const [showComplete, setShowComplete] = useState(false);
+ const [, setShowComplete] = useState(false);
const [showReport, setShowReport] = useState(false);
- const { data: user, isLoading, isError } = useGetMeQuery();
+ const { data: user } = useGetMeQuery();
const entered = useAppSelector((state) => state.app.currentBucketEntered);
const isLow = useAppSelector((state) => isLowBalance(state));
@@ -691,7 +691,7 @@ const BucketDetails = () => {
const SurveyEnter = () => {
const dispatch = useAppDispatch();
const loi = useAppSelector((state) => state.app.loi);
- const { data: user, isLoading, isError } = useGetMeQuery();
+ const { data: user } = useGetMeQuery();
const available_cnt = useAppSelector((state) => getAvailabilityCount(state));
const buckets = useAppSelector((state) => state.app.currentBuckets);