Show error toast in centralized way for query (#117)
This commit is contained in:
@@ -29,6 +29,7 @@ export function useVersions(appId: number | null) {
|
||||
},
|
||||
enabled: appId !== null,
|
||||
initialData: [],
|
||||
meta: { showErrorToast: true },
|
||||
});
|
||||
|
||||
useEffect(() => {
|
||||
|
||||
Reference in New Issue
Block a user