Revert "ui: move settings to footer icon beside theme toggle"

This reverts commit f3a9b6de21.
This commit is contained in:
Dotta
2026-03-10 13:41:37 -05:00
parent f3a9b6de21
commit b0fe48b730
2 changed files with 4 additions and 12 deletions
+2 -12
View File
@@ -1,7 +1,7 @@
import { useCallback, useEffect, useRef, useState, type UIEvent } from "react";
import { useQuery } from "@tanstack/react-query";
import { BookOpen, Moon, Settings, Sun } from "lucide-react";
import { Link, Outlet, useLocation, useNavigate, useParams } from "@/lib/router";
import { BookOpen, Moon, Sun } from "lucide-react";
import { Outlet, useLocation, useNavigate, useParams } from "@/lib/router";
import { CompanyRail } from "./CompanyRail";
import { Sidebar } from "./Sidebar";
import { SidebarNavItem } from "./SidebarNavItem";
@@ -221,11 +221,6 @@ export function Layout() {
icon={BookOpen}
className="flex-1 min-w-0"
/>
<Button asChild type="button" variant="ghost" size="icon-sm" className="text-muted-foreground shrink-0">
<Link to="/company/settings" aria-label="Open company settings" title="Company settings">
<Settings className="h-4 w-4" />
</Link>
</Button>
<Button
type="button"
variant="ghost"
@@ -261,11 +256,6 @@ export function Layout() {
icon={BookOpen}
className="flex-1 min-w-0"
/>
<Button asChild type="button" variant="ghost" size="icon-sm" className="text-muted-foreground shrink-0">
<Link to="/company/settings" aria-label="Open company settings" title="Company settings">
<Settings className="h-4 w-4" />
</Link>
</Button>
<Button
type="button"
variant="ghost"