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

Commit d75c445

Browse files
authored
fix: fix data fetching bug (#99)
1 parent 32def3d commit d75c445

File tree

2 files changed

+1
-14
lines changed

2 files changed

+1
-14
lines changed

package-lock.json

Lines changed: 0 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/hooks/useAlertsData.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const fetchAlerts = async (): Promise<AlertConversation[]> => {
2525

2626
export const useAlertsData = ({ ...args } = {}) => {
2727
return useQuery({
28-
queryKey: ["prompts"],
28+
queryKey: ["alerts"],
2929
queryFn: fetchAlerts,
3030
...args,
3131
});

0 commit comments

Comments
 (0)