Better dropdown menu

This commit is contained in:
Gregory Schier
2023-11-14 10:56:56 -08:00
parent e46de9eebd
commit 3130fb948a
5 changed files with 14 additions and 5 deletions

View File

@@ -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);
}