Skip to content

Commit

Permalink
fix: remove extra disconnect in network error modal
Browse files Browse the repository at this point in the history
  • Loading branch information
SPageot committed May 19, 2022
1 parent 844472b commit ca7d066
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/navigation/AppNavigator.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import {
import {
IndeterminateProgressOverlay,
Dashboard,
MyAccount,
} from '../components/';
import { NotificationContainer } from 'react-notifications';

Expand Down Expand Up @@ -49,8 +48,7 @@ const AppNavigator = () => {
<AppContainer>
{showProgressOverlay && <IndeterminateProgressOverlay />}
{!connectionCheck && (
<Modal
addComponent={<MyAccount />}
<Modal
informationType="error"
modalType={modalTypeEnum.information}
label="Try Again"
Expand Down

0 comments on commit ca7d066

Please sign in to comment.