feat(desktop): connect chat to relay (#6)

This commit is contained in:
Wes
2026-03-09 14:49:50 -07:00
committed by GitHub
parent 70ccc6ea59
commit 0705327312
20 changed files with 2250 additions and 86 deletions

View File

@@ -0,0 +1,11 @@
import { useQuery } from "@tanstack/react-query";
import { getIdentity } from "@/shared/api/tauri";
export function useIdentityQuery() {
return useQuery({
queryKey: ["identity"],
queryFn: getIdentity,
staleTime: Number.POSITIVE_INFINITY,
});
}