Skip to content

Commit 2a30e27

Browse files
committed
fix:remove unused variables
1 parent 28d8b16 commit 2a30e27

1 file changed

Lines changed: 1 addition & 11 deletions

File tree

  • src/app/dashboard/institution/candidates

src/app/dashboard/institution/candidates/page.tsx

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,8 @@
22
import React, { useState } from "react";
33
import NewCandidates from "./Components/NewCandidates";
44

5-
type TabLabel = "New candidates" | "Past candidates" | "Verified candidates";
6-
7-
interface CandidateData {
8-
sn: number;
9-
address: string;
10-
date: string;
11-
certification: string;
12-
status: "Eligible" | "Unverified";
13-
}
14-
155
const Candidates = () => {
16-
const [activeTab, setActiveTab] = useState("new_candidates");
6+
const [activeTab, setActiveTab] = useState<TabType>("new_candidates");
177

188
const tabs = [
199
{ id: "new_candidates", label: "New candidates" },

0 commit comments

Comments
 (0)