Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions src/components/TitleBar.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { Minimize, Minus, PanelLeftIcon, Plus, Square, X } from "lucide-react";
import { useEffect, useState } from "react";
import { Button } from "@/components/ui/button";
import { ThemeToggle } from "./ThemeToggle";

type WindowButtonKind = "default" | "mac";
type MacButtonTone = "close" | "minimize" | "maximize";
Expand Down Expand Up @@ -120,7 +119,6 @@ export function TitleBar({
className={`absolute right-0 top-0 h-full flex items-center gap-2 ${isMac ? "px-2" : "pl-2"}`}
style={{ WebkitAppRegion: "no-drag" } as React.CSSProperties}
>
<ThemeToggle className="mr-1 text-muted-foreground hover:text-foreground" />
{isMac ? (
<div className="flex items-center gap-2">
<WindowButton
Expand Down
Loading