changed btn from "dashboard" to "home"
This commit is contained in:
@@ -3,6 +3,7 @@ import { ColorModeButton } from "@/components/ui/color-mode";
|
||||
import { Tooltip } from "@/components/ui/tooltip";
|
||||
import { FaVolcano } from "react-icons/fa6";
|
||||
import { RxHamburgerMenu } from "react-icons/rx";
|
||||
import { FaHome } from "react-icons/fa";
|
||||
import { useState } from "react";
|
||||
|
||||
// ICONS
|
||||
@@ -64,7 +65,7 @@ export default function Sidebar({ onChangeView }) {
|
||||
|
||||
// this list of btns will come from the db (not every usr will have access to admin)
|
||||
const buttons = [
|
||||
{icon: PushPin, name: "Dashboard", view: "widget"},
|
||||
{icon: FaHome, name: "Home", view: "widget"},
|
||||
{icon: Globe, name: "Global Map", view: "global"},
|
||||
{icon: MapMarker, name: "Regional Map", view: "regional"},
|
||||
{icon: FaVolcano, name: "Volcano", view: "volcano"},
|
||||
|
||||
Reference in New Issue
Block a user