Create Home tab
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
"use client";
|
||||
import { Menu, MenuItem } from "@nextui-org/react";
|
||||
import { LayoutDashboard, Files, FlaskConical } from "lucide-react";
|
||||
import { Home, Files, FlaskConical } from "lucide-react";
|
||||
import { useRouter } from "next/navigation";
|
||||
import useGetCurrentIds from "@/utils/useGetCurrentIds";
|
||||
|
||||
@@ -11,11 +11,11 @@ export default function Sidebar() {
|
||||
<div className="w-64 border-r-1 dark:border-neutral-700">
|
||||
<Menu aria-label="sidebar">
|
||||
<MenuItem
|
||||
startContent={<LayoutDashboard strokeWidth={1} size={28} />}
|
||||
startContent={<Home strokeWidth={1} size={28} />}
|
||||
className="p-3"
|
||||
onClick={() => router.push(`/projects/${projectId}/dashboard`)}
|
||||
onClick={() => router.push(`/projects/${projectId}/home`)}
|
||||
>
|
||||
Dashboard
|
||||
Home
|
||||
</MenuItem>
|
||||
<MenuItem
|
||||
startContent={<Files strokeWidth={1} size={28} />}
|
||||
|
||||
Reference in New Issue
Block a user