Skip to content

Commit

Permalink
fix: fix data fetching bug (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
kantord authored Jan 17, 2025
1 parent 32def3d commit d75c445
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
13 changes: 0 additions & 13 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/hooks/useAlertsData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const fetchAlerts = async (): Promise<AlertConversation[]> => {

export const useAlertsData = ({ ...args } = {}) => {
return useQuery({
queryKey: ["prompts"],
queryKey: ["alerts"],
queryFn: fetchAlerts,
...args,
});
Expand Down

0 comments on commit d75c445

Please sign in to comment.