From ceea6f82b754f04e118bad72ba94444bb433cc87 Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 30 Jan 2026 11:31:46 +0000 Subject: [PATCH] chore: delete unused SettingsDialog component The SettingsDialog was imported but never used - the Settings menu item opens a window via addWindow("settings", ...) instead. https://claude.ai/code/session_01DiWUxiS5BAzU9mrKvCUuMW --- src/components/SettingsDialog.tsx | 36 ------------------------------ src/components/nostr/user-menu.tsx | 3 --- 2 files changed, 39 deletions(-) delete mode 100644 src/components/SettingsDialog.tsx diff --git a/src/components/SettingsDialog.tsx b/src/components/SettingsDialog.tsx deleted file mode 100644 index 7bfa8e8..0000000 --- a/src/components/SettingsDialog.tsx +++ /dev/null @@ -1,36 +0,0 @@ -import { - Dialog, - DialogContent, - DialogDescription, - DialogHeader, - DialogTitle, -} from "@/components/ui/dialog"; -import { Settings } from "lucide-react"; - -interface SettingsDialogProps { - open: boolean; - onOpenChange: (open: boolean) => void; -} - -export default function SettingsDialog({ - open, - onOpenChange, -}: SettingsDialogProps) { - return ( - - - - Settings - - Manage your workspace preferences. - - - -
- -

Settings coming soon.

-
-
-
- ); -} diff --git a/src/components/nostr/user-menu.tsx b/src/components/nostr/user-menu.tsx index 0df2ba6..16221b0 100644 --- a/src/components/nostr/user-menu.tsx +++ b/src/components/nostr/user-menu.tsx @@ -38,7 +38,6 @@ import { import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar"; import Nip05 from "./nip05"; import { RelayLink } from "./RelayLink"; -import SettingsDialog from "@/components/SettingsDialog"; import LoginDialog from "./LoginDialog"; import ConnectWalletDialog from "@/components/ConnectWalletDialog"; import { useState } from "react"; @@ -87,7 +86,6 @@ export default function UserMenu() { const relays = state.activeAccount?.relays; const blossomServers = state.activeAccount?.blossomServers; const nwcConnection = state.nwcConnection; - const [showSettings, setShowSettings] = useState(false); const [showLogin, setShowLogin] = useState(false); const [showConnectWallet, setShowConnectWallet] = useState(false); const [showWalletInfo, setShowWalletInfo] = useState(false); @@ -182,7 +180,6 @@ export default function UserMenu() { return ( <> -