Skip to content
This repository was archived by the owner on Jul 8, 2025. It is now read-only.

Commit 937439b

Browse files
committed
fix: type
1 parent d1c4dd9 commit 937439b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/hooks/useModelsData.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ import { V1ListAllModelsForAllProvidersResponse } from "@/api/generated";
55
export const useModelsData = () => {
66
return useQuery({
77
...v1ListAllModelsForAllProvidersOptions(),
8-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
9-
queryFn: async ({ queryKey, signal }) => {
8+
queryFn: async () => {
109
const response: V1ListAllModelsForAllProvidersResponse = [
1110
{ name: "claude-3.5", provider: "anthropic" },
1211
{ name: "claude-3.6", provider: "anthropic" },

0 commit comments

Comments
 (0)