mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-02-01 20:23:36 +00:00
Update apps/ui/src/components/layout/sidebar/components/sidebar-header.tsx
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
This commit is contained in:
@@ -5,7 +5,7 @@ import { BugReportButton } from './bug-report-button';
|
||||
|
||||
// Detect if running on macOS for traffic light button spacing
|
||||
const isMac =
|
||||
typeof navigator !== 'undefined' && navigator.platform.toUpperCase().indexOf('MAC') >= 0;
|
||||
typeof navigator !== 'undefined' && navigator.userAgentData?.platform === 'macOS';
|
||||
|
||||
interface SidebarHeaderProps {
|
||||
sidebarOpen: boolean;
|
||||
|
||||
Reference in New Issue
Block a user