Skip to content

Commit

Permalink
ADM-747: [frontend] feat: handle error (#968)
Browse files Browse the repository at this point in the history
* ADM-747: [frontend] refactor: refactor notification

* ADM-747: [frontend] refactor: set default title for notification

* ADM-747: [frontend] feat: handle timeout error

* ADM-747: [frontend] feat: handle report error

* ADM-747: [frontend] refactor: rename reportMetricsError

* ADM-747: [frontend] refactor: replace enum with object

* ADM-747: [frontend] feat: handle report error

* ADM-747: [frontend] feat: handle export error

* ADM-747: [frontend] test: add tests for error notifications

* ADM-747: [frontend] refactor: refactor report useEffect

* ADM-747: [frontend] refactor: refactor TimeoutException

* ADM-747: [frontend] refactor: delete useless isServerError

* ADM-747: [frontend] test: add e2e tests for date picker

* ADM-747: [frontend] fix: fix import
  • Loading branch information
JiangRu1 authored and Kai Zhou committed Jan 24, 2024
1 parent 62f3358 commit f3b5b8f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions frontend/src/containers/MetricsStep/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ const MetricsStep = ({ closeAllNotifications }: useNotificationLayoutEffectInter

useLayoutEffect(() => {
closeAllNotifications();
}, []);

useLayoutEffect(() => {
getInfo();
}, []);

Expand Down

0 comments on commit f3b5b8f

Please sign in to comment.