From 5db92fa94cc2380bd74986d33e1a3d4d49b3bb48 Mon Sep 17 00:00:00 2001 From: lucaronin Date: Tue, 31 Mar 2026 11:32:23 +0200 Subject: [PATCH] fix: remove duplicate invoke import in App.tsx Co-Authored-By: Claude Opus 4.6 (1M context) --- src/App.tsx | 1 - src/components/Sidebar.tsx | 8 ++++---- src/components/SidebarParts.tsx | 10 +++++++--- 3 files changed, 11 insertions(+), 8 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index 80766187..9698bda3 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -50,7 +50,6 @@ import { UpdateBanner } from './components/UpdateBanner' import { FlatVaultMigrationBanner } from './components/FlatVaultMigrationBanner' import { useFlatVaultMigration } from './hooks/useFlatVaultMigration' import { invoke } from '@tauri-apps/api/core' -import { invoke } from '@tauri-apps/api/core' import { isTauri, mockInvoke } from './mock-tauri' import type { SidebarSelection, InboxPeriod } from './types' import type { NoteListItem } from './utils/ai-context' diff --git a/src/components/Sidebar.tsx b/src/components/Sidebar.tsx index 5f205399..7880ecdb 100644 --- a/src/components/Sidebar.tsx +++ b/src/components/Sidebar.tsx @@ -290,10 +290,10 @@ export const Sidebar = memo(function Sidebar({