Skip to content

Commit

Permalink
Update abort logic in useITwinFavorites to include error message on a…
Browse files Browse the repository at this point in the history
…bort
  • Loading branch information
arome committed Dec 6, 2024
1 parent d3d2d61 commit 11e7911
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ export const useITwinFavorites = (
void fetchITwinFavorites(controller.signal);

return () => {
controller.abort();
controller.abort(HOOK_ABORT_ERROR);
};
}, [getITwinFavorites]);

Expand Down

0 comments on commit 11e7911

Please sign in to comment.