mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-11-16 13:41:15 +01:00
Upgrade Tauri and add Tauri devtools
This commit is contained in:
1 parent
17fdd608d1
commit
c72180bb59
16 files changed
+1143
-600
No files matched your search
@@ -1,4 +1,4 @@
|
||||
import { open } from '@tauri-apps/plugin-shell';
|
||||
import { openUrl } from '@tauri-apps/plugin-opener';
|
||||
import { Button } from '../components/core/Button';
|
||||
import { invokeCmd } from '../lib/tauri';
|
||||
import { useListenToTauriEvent } from './useListenToTauriEvent';
|
||||
@@ -37,7 +37,7 @@ export function useNotificationToast() {
|
||||
className="mr-auto min-w-[5rem]"
|
||||
onClick={() => {
|
||||
hide();
|
||||
return open(actionUrl);
|
||||
return openUrl(actionUrl);
|
||||
}}
|
||||
>
|
||||
{actionLabel}
|
||||
|
||||
Reference in new issue
Block a user