We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 28d8b16 commit 2a30e27Copy full SHA for 2a30e27
1 file changed
src/app/dashboard/institution/candidates/page.tsx
@@ -2,18 +2,8 @@
2
import React, { useState } from "react";
3
import NewCandidates from "./Components/NewCandidates";
4
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
15
const Candidates = () => {
16
- const [activeTab, setActiveTab] = useState("new_candidates");
+ const [activeTab, setActiveTab] = useState<TabType>("new_candidates");
17
18
const tabs = [
19
{ id: "new_candidates", label: "New candidates" },
0 commit comments