fix: remove stale persistLastVault and unused imports after rebase

This commit is contained in:
Test
2026-03-03 00:57:47 +01:00
parent b489fa8e3e
commit f0b456bb8c
2 changed files with 1 additions and 4 deletions

View File

@@ -1 +1 @@
3852

View File

@@ -1,6 +1,4 @@
import { useCallback, useEffect, useMemo, useRef, useState } from 'react'
import { invoke } from '@tauri-apps/api/core'
import { isTauri, mockInvoke } from '../mock-tauri'
import { pickFolder } from '../utils/vault-dialog'
import { loadVaultList, saveVaultList } from '../utils/vaultListStore'
import type { VaultOption } from '../components/StatusBar'
@@ -69,7 +67,6 @@ export function useVaultSwitcher({ onSwitch, onToast }: UseVaultSwitcherOptions)
const switchVault = useCallback((path: string) => {
setVaultPath(path)
persistLastVault(path)
onSwitchRef.current()
}, [])