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 SimonTal committed Jan 30, 2024
1 parent e24a372 commit f58fa59
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion frontend/src/containers/MetricsStep/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import {
selectIsProjectCreated,
selectMetrics,
selectUsers,
updateJiraVerifyResponse,
updateBoardVerifyState,
selectBoard,
} from '@src/context/config/configSlice';
Expand Down Expand Up @@ -63,6 +62,9 @@ const MetricsStep = () => {

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

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

Expand Down

0 comments on commit f58fa59

Please sign in to comment.