diff --git a/src/components/Sidebar.tsx b/src/components/Sidebar.tsx
index 0e8f8a13..81c37b07 100644
--- a/src/components/Sidebar.tsx
+++ b/src/components/Sidebar.tsx
@@ -12,7 +12,8 @@ import {
SettingsIcon,
UsersIcon,
ZapIcon,
- BatteryMediumIcon
+ BatteryMediumIcon,
+ CpuIcon
} from "lucide-react";
export interface SidebarProps {
@@ -20,8 +21,9 @@ export interface SidebarProps {
}
export const Sidebar = ({ children }: SidebarProps): JSX.Element => {
- const { hardware, nodes } = useDevice();
+ const { hardware, nodes, metadata } = useDevice();
const myNode = nodes.get(hardware.myNodeNum);
+ const myMetadata = metadata.get(0);
const { activePage, setActivePage, setDialogOpen } = useDevice();
interface NavLink {
@@ -84,6 +86,10 @@ export const Sidebar = ({ children }: SidebarProps): JSX.Element => {