mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-02-03 08:53:36 +00:00
fix
This commit is contained in:
@@ -4,8 +4,7 @@ import { AutomakerLogo } from './automaker-logo';
|
|||||||
import { BugReportButton } from './bug-report-button';
|
import { BugReportButton } from './bug-report-button';
|
||||||
|
|
||||||
// Detect if running on macOS for traffic light button spacing
|
// Detect if running on macOS for traffic light button spacing
|
||||||
const isMac =
|
const isMac = typeof navigator !== 'undefined' && /Mac/.test(navigator.userAgent);
|
||||||
typeof navigator !== 'undefined' && navigator.userAgentData?.platform === 'macOS';
|
|
||||||
|
|
||||||
interface SidebarHeaderProps {
|
interface SidebarHeaderProps {
|
||||||
sidebarOpen: boolean;
|
sidebarOpen: boolean;
|
||||||
|
|||||||
Reference in New Issue
Block a user