From 2dd4f58948affd224410e51ff7a7151e79229d3f Mon Sep 17 00:00:00 2001 From: Kevin Hashimoto Date: Wed, 18 Dec 2024 11:25:42 -0800 Subject: [PATCH] fix: grid alert not returning correct alert --- frontend/src/services/useApiService.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/src/services/useApiService.js b/frontend/src/services/useApiService.js index 7b4fdca4b..a3f739486 100644 --- a/frontend/src/services/useApiService.js +++ b/frontend/src/services/useApiService.js @@ -42,6 +42,8 @@ export const useApiService = (opts = {}) => { variant: 'error' }) } + + return Promise.reject(error) } )