From 11e7911d8d2b94a3f063bbd957bcfa03dc28f93c Mon Sep 17 00:00:00 2001 From: Omar H Date: Fri, 6 Dec 2024 14:19:17 -0500 Subject: [PATCH] Update abort logic in useITwinFavorites to include error message on abort --- .../src/containers/ITwinGrid/useITwinFavorites.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/modules/imodel-browser/src/containers/ITwinGrid/useITwinFavorites.ts b/packages/modules/imodel-browser/src/containers/ITwinGrid/useITwinFavorites.ts index 5aab02c..a251af4 100644 --- a/packages/modules/imodel-browser/src/containers/ITwinGrid/useITwinFavorites.ts +++ b/packages/modules/imodel-browser/src/containers/ITwinGrid/useITwinFavorites.ts @@ -185,7 +185,7 @@ export const useITwinFavorites = ( void fetchITwinFavorites(controller.signal); return () => { - controller.abort(); + controller.abort(HOOK_ABORT_ERROR); }; }, [getITwinFavorites]);