update: gemini fixes
This commit is contained in:
9
hooks/useShows.ts
Normal file
9
hooks/useShows.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import { useQuery } from "@tanstack/react-query";
|
||||
import { getShows } from "@/apis/showApi";
|
||||
|
||||
export const useShows = () => {
|
||||
return useQuery({
|
||||
queryKey: ["shows"],
|
||||
queryFn: getShows,
|
||||
});
|
||||
};
|
||||
Reference in New Issue
Block a user