[ENG-1928] Update to tauri 2.0.1 stable (#2752)

* Update to tauri 2.0.0 stable
 - Update a some othe dependencies
 - Autoformat rust and toml files

* Fix clippy complain

* Update tauri 2.0.1
 - Update rspc
 - Update some frontend files due changes in rspc
 - Update some frontend build dependencies

* Revert babel update

* Fix code typing typing and style + a couple of bugs

* More type fixes
This commit is contained in:
Vítor Vasconcellos
2024-10-05 18:17:30 -03:00
committed by GitHub
parent f4622b5d2f
commit cdc50140b0
79 changed files with 201 additions and 290 deletions

View File

@@ -32,10 +32,10 @@ export const useKeybindEventHandler = (libraryId?: string) => {
console.log('Add Location!'); // TODO: Implement
break;
case 'open_settings':
libraryId && navigate(`/${libraryId}/settings/client/general`);
if (libraryId) navigate(`/${libraryId}/settings/client/general`);
break;
case 'reload_explorer':
!isNaN(id) && rescan(id);
if (!isNaN(id)) rescan(id);
break;
// case 'open_overview':
// libraryId && navigate(`/${libraryId}/overview`);