From e97d0281e25381dd08bc95745eda58e52511d06b Mon Sep 17 00:00:00 2001 From: Ren Amamiya <123083837+reyamir@users.noreply.github.com> Date: Tue, 1 Aug 2023 14:26:16 +0700 Subject: [PATCH] redesign sidebar --- index.html | 2 +- package.json | 1 + pnpm-lock.yaml | 31 +++++ src-tauri/Cargo.lock | 106 ++++++++++++++-- src-tauri/Cargo.toml | 4 +- src-tauri/src/main.rs | 18 +++ src-tauri/tauri.conf.json | 5 +- src/app/chats/components/item.tsx | 38 +++--- src/app/chats/components/list.tsx | 8 +- src/app/chats/components/modal.tsx | 8 +- src/app/chats/components/self.tsx | 28 ++--- src/app/chats/components/unknowns.tsx | 10 +- src/app/root.tsx | 7 +- src/shared/accounts/active.tsx | 2 +- src/shared/appHeader.tsx | 49 -------- src/shared/appLayout.tsx | 4 +- src/shared/button.tsx | 2 +- src/shared/logout.tsx | 4 +- src/shared/lumeBar.tsx | 6 +- src/shared/navigation.tsx | 171 ++++++++++++++++---------- src/shared/notification/modal.tsx | 4 +- src/shared/settingsLayout.tsx | 2 - 22 files changed, 310 insertions(+), 200 deletions(-) delete mode 100644 src/shared/appHeader.tsx diff --git a/index.html b/index.html index d28ffb72..05fab479 100644 --- a/index.html +++ b/index.html @@ -4,7 +4,7 @@ Lume - +
diff --git a/package.json b/package.json index b6c0b4e0..9a5f0edc 100644 --- a/package.json +++ b/package.json @@ -20,6 +20,7 @@ "@headlessui/react": "^1.7.16", "@nostr-dev-kit/ndk": "^0.7.7", "@nostr-fetch/adapter-ndk": "^0.11.0", + "@radix-ui/react-collapsible": "^1.0.3", "@radix-ui/react-dialog": "^1.0.4", "@radix-ui/react-popover": "^1.0.6", "@radix-ui/react-tooltip": "^1.0.6", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 17d81508..adc2e7a1 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -10,6 +10,9 @@ dependencies: '@nostr-fetch/adapter-ndk': specifier: ^0.11.0 version: 0.11.0(@nostr-dev-kit/ndk@0.7.7)(nostr-fetch@0.12.2) + '@radix-ui/react-collapsible': + specifier: ^1.0.3 + version: 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.18)(react-dom@18.2.0)(react@18.2.0) '@radix-ui/react-dialog': specifier: ^1.0.4 version: 1.0.4(@types/react-dom@18.2.7)(@types/react@18.2.18)(react-dom@18.2.0)(react@18.2.0) @@ -1084,6 +1087,34 @@ packages: react-dom: 18.2.0(react@18.2.0) dev: false + /@radix-ui/react-collapsible@1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.18)(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-UBmVDkmR6IvDsloHVN+3rtx4Mi5TFvylYXpluuv0f37dtaz3H99bp8No0LGXRigVpl3UAT4l9j6bIchh42S/Gg==} + peerDependencies: + '@types/react': '*' + '@types/react-dom': '*' + react: ^16.8 || ^17.0 || ^18.0 + react-dom: ^16.8 || ^17.0 || ^18.0 + peerDependenciesMeta: + '@types/react': + optional: true + '@types/react-dom': + optional: true + dependencies: + '@babel/runtime': 7.22.6 + '@radix-ui/primitive': 1.0.1 + '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.2.18)(react@18.2.0) + '@radix-ui/react-context': 1.0.1(@types/react@18.2.18)(react@18.2.0) + '@radix-ui/react-id': 1.0.1(@types/react@18.2.18)(react@18.2.0) + '@radix-ui/react-presence': 1.0.1(@types/react-dom@18.2.7)(@types/react@18.2.18)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.7)(@types/react@18.2.18)(react-dom@18.2.0)(react@18.2.0) + '@radix-ui/react-use-controllable-state': 1.0.1(@types/react@18.2.18)(react@18.2.0) + '@radix-ui/react-use-layout-effect': 1.0.1(@types/react@18.2.18)(react@18.2.0) + '@types/react': 18.2.18 + '@types/react-dom': 18.2.7 + react: 18.2.0 + react-dom: 18.2.0(react@18.2.0) + dev: false + /@radix-ui/react-compose-refs@1.0.1(@types/react@18.2.18)(react@18.2.0): resolution: {integrity: sha512-fDSBgd44FKHa1FRMU59qBMPFcl2PZE+2nmqunj+BWFyYYjnhIDWL2ItDs3rrbJDQOtzt5nIebLCQc4QRfz6LJw==} peerDependencies: diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock index 6af57852..ec85b1da 100644 --- a/src-tauri/Cargo.lock +++ b/src-tauri/Cargo.lock @@ -182,7 +182,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d6041616acea41d67c4a984709ddab1587fd0b10efe5cc563fee954d2f011854" dependencies = [ "clipboard-win", - "core-graphics", + "core-graphics 0.22.3", "image", "log", "objc", @@ -787,8 +787,24 @@ dependencies = [ "block", "cocoa-foundation", "core-foundation", - "core-graphics", - "foreign-types", + "core-graphics 0.22.3", + "foreign-types 0.3.2", + "libc", + "objc", +] + +[[package]] +name = "cocoa" +version = "0.25.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f6140449f97a6e97f9511815c5632d84c8aacf8ac271ad77c559218161a1373c" +dependencies = [ + "bitflags 1.3.2", + "block", + "cocoa-foundation", + "core-foundation", + "core-graphics 0.23.1", + "foreign-types 0.5.0", "libc", "objc", ] @@ -803,7 +819,7 @@ dependencies = [ "block", "core-foundation", "core-graphics-types", - "foreign-types", + "foreign-types 0.3.2", "libc", "objc", ] @@ -901,7 +917,20 @@ dependencies = [ "bitflags 1.3.2", "core-foundation", "core-graphics-types", - "foreign-types", + "foreign-types 0.3.2", + "libc", +] + +[[package]] +name = "core-graphics" +version = "0.23.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "970a29baf4110c26fedbc7f82107d42c23f7e88e404c4577ed73fe99ff85a212" +dependencies = [ + "bitflags 1.3.2", + "core-foundation", + "core-graphics-types", + "foreign-types 0.5.0", "libc", ] @@ -1465,7 +1494,28 @@ version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1" dependencies = [ - "foreign-types-shared", + "foreign-types-shared 0.1.1", +] + +[[package]] +name = "foreign-types" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d737d9aa519fb7b749cbc3b962edcf310a8dd1f4b67c91c4f83975dbdd17d965" +dependencies = [ + "foreign-types-macros", + "foreign-types-shared 0.3.1", +] + +[[package]] +name = "foreign-types-macros" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a5c6c585bc94aaf2c7b51dd4c2ba22680844aba4c687be581871a6f518c5742" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.27", ] [[package]] @@ -1474,6 +1524,12 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b" +[[package]] +name = "foreign-types-shared" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aa9a19cbb55df58761df49b23516a86d432839add4af60fc256da840f66ed35b" + [[package]] name = "form_urlencoded" version = "1.2.0" @@ -2562,7 +2618,7 @@ dependencies = [ name = "lume" version = "1.1.1" dependencies = [ - "cocoa", + "cocoa 0.24.1", "objc", "rand 0.8.5", "rust-argon2", @@ -2587,6 +2643,8 @@ dependencies = [ "tauri-plugin-updater", "tauri-plugin-upload", "tauri-plugin-window", + "window-shadows", + "window-vibrancy", ] [[package]] @@ -4652,9 +4710,9 @@ dependencies = [ "bitflags 1.3.2", "cairo-rs", "cc", - "cocoa", + "cocoa 0.24.1", "core-foundation", - "core-graphics", + "core-graphics 0.22.3", "crossbeam-channel", "dirs-next", "dispatch", @@ -4728,7 +4786,7 @@ checksum = "2e18377a75e314aa1d476896af881ed63f57a78ca84889fe63e69067f0de158d" dependencies = [ "anyhow", "bytes", - "cocoa", + "cocoa 0.24.1", "dirs-next", "embed_plist", "futures-util", @@ -5091,7 +5149,7 @@ version = "0.13.0-alpha.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1231be42085f3a8b150e615601f8a070bd16bf579771a5dafe2931970a05b518" dependencies = [ - "cocoa", + "cocoa 0.24.1", "gtk", "jni", "percent-encoding", @@ -5857,6 +5915,28 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" +[[package]] +name = "window-shadows" +version = "0.2.1" +source = "git+https://github.com/tauri-apps/window-shadows?branch=dev#dd8ca283fa50b1484043e686fa0b1e45ba5a969d" +dependencies = [ + "cocoa 0.25.0", + "objc", + "raw-window-handle", + "windows-sys 0.48.0", +] + +[[package]] +name = "window-vibrancy" +version = "0.4.0" +source = "git+https://github.com/tauri-apps/window-vibrancy?branch=dev#d1b349f3c3f524ffd3ba37b64349ec6ad6410272" +dependencies = [ + "cocoa 0.25.0", + "objc", + "raw-window-handle", + "windows-sys 0.48.0", +] + [[package]] name = "windows" version = "0.36.1" @@ -6175,8 +6255,8 @@ checksum = "7d15f9f827d537cefe6d047be3930f5d89b238dfb85e08ba6a319153217635aa" dependencies = [ "base64 0.13.1", "block", - "cocoa", - "core-graphics", + "cocoa 0.24.1", + "core-graphics 0.22.3", "crossbeam-channel", "dunce", "gdk", diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index cbbd13aa..3bfae52b 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -16,7 +16,7 @@ tauri-build = { version = "2.0.0-alpha.6", features = [] } [dependencies] serde_json = "1.0" serde = { version = "1.0", features = ["derive"] } -tauri = { version = "2.0.0-alpha.10", features = ["system-tray"] } +tauri = { version = "2.0.0-alpha.10", features = [ "macos-private-api", "system-tray"] } tauri-plugin-single-instance = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" } tauri-plugin-autostart = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" } tauri-plugin-stronghold = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" } @@ -32,6 +32,8 @@ tauri-plugin-process = { git = "https://github.com/tauri-apps/plugins-workspace" tauri-plugin-os = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" } tauri-plugin-window = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" } tauri-plugin-store = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" } +window-shadows = { git = "https://github.com/tauri-apps/window-shadows", branch = "dev" } +window-vibrancy = { git = "https://github.com/tauri-apps/window-vibrancy", branch = "dev" } sqlx-cli = { version = "0.7.0", default-features = false, features = [ "sqlite", ] } diff --git a/src-tauri/src/main.rs b/src-tauri/src/main.rs index 7a7f5a99..928ce2e7 100644 --- a/src-tauri/src/main.rs +++ b/src-tauri/src/main.rs @@ -7,6 +7,8 @@ use tauri::{Manager}; use tauri_plugin_autostart::MacosLauncher; use tauri_plugin_sql::{Migration, MigrationKind}; +use window_shadows::set_shadow; +use window_vibrancy::{apply_blur, apply_vibrancy, NSVisualEffectMaterial}; #[derive(Clone, serde::Serialize)] struct Payload { @@ -136,6 +138,22 @@ fn main() { .plugin(tauri_plugin_os::init()) .plugin(tauri_plugin_window::init()) .plugin(tauri_plugin_store::Builder::default().build()) + .setup(|app| { + let window = app.get_window("main").unwrap(); + + // native shadow + set_shadow(&window, true).expect("Unsupported platform!"); + + #[cfg(target_os = "macos")] + apply_vibrancy(&window, NSVisualEffectMaterial::HudWindow, None, None) + .expect("Unsupported platform! 'apply_vibrancy' is only supported on macOS"); + + #[cfg(target_os = "windows")] + apply_blur(&window, Some((18, 18, 18, 125))) + .expect("Unsupported platform! 'apply_blur' is only supported on Windows"); + + Ok(()) + }) .run(tauri::generate_context!()) .expect("error while running tauri application"); } diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 5dea0d88..e0210877 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -103,10 +103,11 @@ "theme": "Dark", "title": "Lume", "titleBarStyle": "Overlay", - "transparent": false, + "transparent": true, "width": 1080, "center": true } - ] + ], + "macOSPrivateApi": true } } \ No newline at end of file diff --git a/src/app/chats/components/item.tsx b/src/app/chats/components/item.tsx index f1fb4848..e5beca8b 100644 --- a/src/app/chats/components/item.tsx +++ b/src/app/chats/components/item.tsx @@ -6,14 +6,14 @@ import { Image } from '@shared/image'; import { DEFAULT_AVATAR } from '@stores/constants'; import { useProfile } from '@utils/hooks/useProfile'; -import { shortenKey } from '@utils/shortenKey'; +import { displayNpub } from '@utils/shortenKey'; export function ChatsListItem({ data }: { data: any }) { const { status, user } = useProfile(data.sender_pubkey); if (status === 'loading') { return ( -
+
@@ -26,28 +26,24 @@ export function ChatsListItem({ data }: { data: any }) { preventScrollReset={true} className={({ isActive }) => twMerge( - 'inline-flex h-9 items-center gap-2.5 rounded-md px-2.5', - isActive ? 'bg-zinc-900/50 text-zinc-100' : '' + 'inline-flex h-9 items-center gap-2.5 rounded-md px-2', + isActive ? 'bg-white/10 text-white' : 'text-white/80' ) } > -
- {data.sender_pubkey} -
-
-
-
- {user?.nip05 || - user?.name || - user?.displayName || - shortenKey(data.sender_pubkey)} -
-
+ {data.sender_pubkey} +
+
+ {user?.nip05 || + user?.name || + user?.displayName || + displayNpub(data.sender_pubkey, 16)} +
{data.new_messages > 0 && ( diff --git a/src/app/chats/components/list.tsx b/src/app/chats/components/list.tsx index 14b7dbd6..82f22cf5 100644 --- a/src/app/chats/components/list.tsx +++ b/src/app/chats/components/list.tsx @@ -50,20 +50,20 @@ export function ChatsList() { {account ? ( ) : ( -
+
)} {chats.follows.map((item) => renderItem(item))} - {chats.unknowns.length > 0 && } - {isFetching && ( -
+
)} + {chats.unknowns.length > 0 && } +
); } diff --git a/src/app/chats/components/modal.tsx b/src/app/chats/components/modal.tsx index 3e3ba19c..eb7abc43 100644 --- a/src/app/chats/components/modal.tsx +++ b/src/app/chats/components/modal.tsx @@ -33,13 +33,13 @@ export function NewMessageModal() { diff --git a/src/app/chats/components/self.tsx b/src/app/chats/components/self.tsx index 54f9a834..576097cd 100644 --- a/src/app/chats/components/self.tsx +++ b/src/app/chats/components/self.tsx @@ -6,14 +6,14 @@ import { Image } from '@shared/image'; import { DEFAULT_AVATAR } from '@stores/constants'; import { useProfile } from '@utils/hooks/useProfile'; -import { shortenKey } from '@utils/shortenKey'; +import { displayNpub } from '@utils/shortenKey'; export function ChatsListSelfItem({ data }: { data: { pubkey: string } }) { const { status, user } = useProfile(data.pubkey); if (status === 'loading') { return ( -
+
@@ -28,24 +28,22 @@ export function ChatsListSelfItem({ data }: { data: { pubkey: string } }) { preventScrollReset={true} className={({ isActive }) => twMerge( - 'inline-flex h-9 items-center gap-2.5 rounded-md px-2.5', - isActive ? 'bg-zinc-900/50 text-zinc-100' : '' + 'inline-flex h-9 items-center gap-2.5 rounded-md px-2', + isActive ? 'bg-white/10 text-white' : 'text-white/80' ) } > -
- {data.pubkey} -
+ {data.pubkey}
-
- {user?.nip05 || user?.name || shortenKey(data.pubkey)} +
+ {user?.nip05 || user?.name || displayNpub(data.pubkey, 16)}
- (you) + (you)
); diff --git a/src/app/chats/components/unknowns.tsx b/src/app/chats/components/unknowns.tsx index 0747e28b..92a33d0c 100644 --- a/src/app/chats/components/unknowns.tsx +++ b/src/app/chats/components/unknowns.tsx @@ -31,15 +31,13 @@ export function UnknownsModal({ data }: { data: Chats[] }) { diff --git a/src/app/root.tsx b/src/app/root.tsx index dc389bf9..37e0eff8 100644 --- a/src/app/root.tsx +++ b/src/app/root.tsx @@ -175,12 +175,9 @@ export function Root() { }, [status]); return ( -
+
-
+
diff --git a/src/shared/accounts/active.tsx b/src/shared/accounts/active.tsx index 60eb1d7f..17a0f380 100644 --- a/src/shared/accounts/active.tsx +++ b/src/shared/accounts/active.tsx @@ -16,7 +16,7 @@ import { sendNativeNotification } from '@utils/notification'; const lastLogin = await getLastLogin(); -export function ActiveAccount({ data }: { data: any }) { +export function ActiveAccount({ data }: { data: { pubkey: string; npub: string } }) { const queryClient = useQueryClient(); const { ndk } = useNDK(); diff --git a/src/shared/appHeader.tsx b/src/shared/appHeader.tsx deleted file mode 100644 index 5240479d..00000000 --- a/src/shared/appHeader.tsx +++ /dev/null @@ -1,49 +0,0 @@ -import { useNavigate } from 'react-router-dom'; - -import { ArrowLeftIcon, ArrowRightIcon } from '@shared/icons'; - -export function AppHeader({ reverse }: { reverse?: boolean }) { - const navigate = useNavigate(); - - const goBack = () => { - navigate(-1); - }; - - const goForward = () => { - navigate(1); - }; - - return ( -
-
- - -
-
- ); -} diff --git a/src/shared/appLayout.tsx b/src/shared/appLayout.tsx index 535686ba..3f4f8f49 100644 --- a/src/shared/appLayout.tsx +++ b/src/shared/appLayout.tsx @@ -5,10 +5,10 @@ import { Navigation } from '@shared/navigation'; export function AppLayout() { return (
-
+
-
+
diff --git a/src/shared/button.tsx b/src/shared/button.tsx index 5dd4ea6d..cd54f6a3 100644 --- a/src/shared/button.tsx +++ b/src/shared/button.tsx @@ -16,7 +16,7 @@ export function Button({ switch (preset) { case 'small': preClass = - 'w-min h-9 px-4 bg-fuchsia-500 rounded-md text-sm font-medium text-zinc-100 hover:bg-fuchsia-600'; + 'w-min h-9 px-4 bg-white/10 rounded-md text-sm font-medium text-white hover:bg-fuchsia-500'; break; case 'publish': preClass = diff --git a/src/shared/logout.tsx b/src/shared/logout.tsx index e3147d91..c51d9325 100644 --- a/src/shared/logout.tsx +++ b/src/shared/logout.tsx @@ -34,9 +34,9 @@ export function Logout() { type="button" onClick={() => openModal()} aria-label="Logout" - className="inline-flex h-9 w-9 transform items-center justify-center rounded-md border-t border-zinc-700/50 bg-zinc-800 active:translate-y-1" + className="inline-flex h-9 w-9 transform items-center justify-center rounded-md bg-white/20 active:translate-y-1" > - + diff --git a/src/shared/lumeBar.tsx b/src/shared/lumeBar.tsx index ff14d2ed..2641c729 100644 --- a/src/shared/lumeBar.tsx +++ b/src/shared/lumeBar.tsx @@ -11,7 +11,7 @@ export function LumeBar() { const { status, account } = useAccount(); return ( -
+
{status === 'loading' ? ( <> @@ -26,9 +26,9 @@ export function LumeBar() { )} - +
diff --git a/src/shared/navigation.tsx b/src/shared/navigation.tsx index f5e37a62..247fa442 100644 --- a/src/shared/navigation.tsx +++ b/src/shared/navigation.tsx @@ -1,62 +1,123 @@ -import { Disclosure } from '@headlessui/react'; -import { NavLink } from 'react-router-dom'; +import * as Collapsible from '@radix-ui/react-collapsible'; +import { useState } from 'react'; +import { NavLink, useNavigate } from 'react-router-dom'; import { twMerge } from 'tailwind-merge'; import { ChatsList } from '@app/chats/components/list'; -import { AppHeader } from '@shared/appHeader'; import { ComposerModal } from '@shared/composer/modal'; -import { NavArrowDownIcon, SpaceIcon, TrendingIcon } from '@shared/icons'; +import { + ArrowLeftIcon, + ArrowRightIcon, + NavArrowDownIcon, + SpaceIcon, + TrendingIcon, +} from '@shared/icons'; import { LumeBar } from '@shared/lumeBar'; export function Navigation() { + const navigate = useNavigate(); + + const [feeds, setFeeds] = useState(true); + const [chats, setChats] = useState(true); + return ( -
- +
-
+
-
- {/* Newsfeed */} -
-
-

- Feeds -

-
-
- - twMerge( - 'flex h-9 items-center gap-2.5 rounded-md px-2.5 text-zinc-200', - isActive ? 'bg-zinc-900/50' : '' - ) - } +
+ +
+ +
+ + + + +
+ + twMerge( + 'flex h-9 items-center gap-2.5 rounded-md px-2', + isActive ? 'bg-white/10 text-white' : 'text-white/80' + ) + } + > + + + + Spaces + + + twMerge( + 'flex h-9 items-center gap-2.5 rounded-md px-2 ', + isActive ? 'bg-white/10 text-white' : 'text-white/80' + ) + } + > + + + + Trending + +
+
+
+
+ +
+ + + + + + +
+
{/* Channels {({ open }) => ( @@ -84,28 +145,6 @@ export function Navigation() { )} */} - {/* Chats */} - - {({ open }) => ( -
- -
- -
-

- Chats -

-
- - - -
- )} -
diff --git a/src/shared/notification/modal.tsx b/src/shared/notification/modal.tsx index 79044ce2..229c9b07 100644 --- a/src/shared/notification/modal.tsx +++ b/src/shared/notification/modal.tsx @@ -51,9 +51,9 @@ export function NotificationModal({ pubkey }: { pubkey: string }) { diff --git a/src/shared/settingsLayout.tsx b/src/shared/settingsLayout.tsx index ba3e61ab..90949243 100644 --- a/src/shared/settingsLayout.tsx +++ b/src/shared/settingsLayout.tsx @@ -1,7 +1,6 @@ import { NavLink, Outlet, ScrollRestoration } from 'react-router-dom'; import { twMerge } from 'tailwind-merge'; -import { AppHeader } from '@shared/appHeader'; import { LumeBar } from '@shared/lumeBar'; export function SettingsLayout() { @@ -9,7 +8,6 @@ export function SettingsLayout() {
-