mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-11-21 07:51:39 +01:00
Better dropdown menu
This commit is contained in:
1 parent
e46de9eebd
commit
3130fb948a
5 files changed
+14
-5
No files matched your search
@@ -0,0 +1,6 @@
|
||||
import { useQuery } from '@tanstack/react-query';
|
||||
import { getVersion } from '@tauri-apps/api/app';
|
||||
|
||||
export function useAppVersion() {
|
||||
return useQuery<string>(['appVersion'], getVersion);
|
||||
}
|
||||
Reference in new issue
Block a user