Show error toast in centralized way for query (#117)

This commit is contained in:
Will Chen
2025-05-08 22:32:50 -07:00
committed by GitHub
parent b6eeaab1bb
commit 8d61659c60
3 changed files with 33 additions and 3 deletions

View File

@@ -29,6 +29,7 @@ export function useVersions(appId: number | null) {
},
enabled: appId !== null,
initialData: [],
meta: { showErrorToast: true },
});
useEffect(() => {