We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a940ffe commit 8ba7d36Copy full SHA for 8ba7d36
src/hooks/useWorkspacesData.ts
@@ -0,0 +1,8 @@
1
+import { useQuery } from "@tanstack/react-query";
2
+import { v1ListWorkspacesOptions } from "@/api/generated/@tanstack/react-query.gen";
3
+
4
+export const useWorkspacesData = () => {
5
+ return useQuery({
6
+ ...v1ListWorkspacesOptions(),
7
+ });
8
+};
0 commit comments