Better dropdown menu

This commit is contained in:
Gregory Schier
2023-11-14 10:56:56 -08:00
parent 6114039f7e
commit f7426dc8ce
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);
}