feat: add current path

This resolves #20
This commit is contained in:
talksik
2026-03-18 08:14:32 -07:00
parent ff785f409f
commit 990137b829
6 changed files with 477 additions and 65 deletions
+9
View File
@@ -0,0 +1,9 @@
import { useQuery } from "@tanstack/react-query";
import { apiClient } from "@/api/client";
export function useNetworks() {
return useQuery({
queryKey: ["networks"],
queryFn: () => apiClient.listNetworks(),
});
}