Skip to content

Commit

Permalink
Merge pull request #297 from bettersg/bug/typescript-setCheckerDetail…
Browse files Browse the repository at this point in the history
…s-is-declared-but-its-value-is-never-read-

removed typescript error
  • Loading branch information
sarge1989 committed May 1, 2024
2 parents 6144ac8 + 36564cb commit d6cd900
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion checkers-app/src/components/dashboard/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import Loading from "../common/Loading";

export default function Dashboard() {
const [isLoading, setIsLoading] = useState(false);
const { checkerDetails, setCheckerDetails } = useUser();
const { checkerDetails } = useUser();
const [totalVotes, setTotalVotes] = useState<number>(0);
const [accuracyRate, setAccuracyRate] = useState<number | null>(0);
const [avgResponseTime, setAvgResponseTime] = useState<number>(0);
Expand Down

0 comments on commit d6cd900

Please sign in to comment.