Merge pull request #570 from danditomaso/fix/minus-node-num

This commit is contained in:
Hunter Thornsberry
2025-04-10 13:30:09 -04:00
committed by GitHub
+1 -1
View File
@@ -60,7 +60,7 @@ export const Sidebar = ({ children }: SidebarProps) => {
page: "channels", page: "channels",
}, },
{ {
name: `Nodes (${nodes.size - 1})`, name: `Nodes (${Math.max(nodes.size - 1, 0)})`,
icon: UsersIcon, icon: UsersIcon,
page: "nodes", page: "nodes",
}, },