Skip to content

Commit

Permalink
fix: build error
Browse files Browse the repository at this point in the history
  • Loading branch information
RupaakSrinivas committed Apr 10, 2024
1 parent ea936f7 commit 0305614
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/components/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,12 @@ import { useEffect, useState } from "react";
import { Group } from "@mantine/core";
import { IconLogout } from "@tabler/icons-react";
import icon from "@/assets/icon.svg";
import { IoMdCalendar } from "react-icons/io";
import { BiSolidDashboard, BiBuildings } from "react-icons/bi";
import { RiTeamFill } from "react-icons/ri";
import { IoMailOpen } from "react-icons/io5";

import classes from "@/styles/NavbarSimple.module.css";
import ProtectedRoute from "@/components/ProtectedRoute";
import { authStore } from "@/store/auth";
import { useRouter } from "next/navigation";
import Image from "next/image";
import { navLinkStore, dataType } from "@/store/navLinks";
import { IconType } from "react-icons/lib";

// const data = [
// { link: "/team", icon: BiSolidDashboard, label: "My Team" },
Expand All @@ -25,6 +20,12 @@ import { navLinkStore, dataType } from "@/store/navLinks";
// // { link: "/home/generateMail", icon: IoMailOpen, label: "Generate a Mail" },
// ];

type dataType = {
link: string;
icon: IconType;
label: string;
};

function NavbarSimple({ data }: { data: dataType[] }) {
const [active, setActive] = useState("");
const { logout } = authStore();
Expand Down

0 comments on commit 0305614

Please sign in to comment.