From 5cfc725001d7beea6475b5f477231bb41b4cb34b Mon Sep 17 00:00:00 2001 From: Alexey Padalko Date: Thu, 15 Aug 2019 18:26:16 +0300 Subject: [PATCH] fix: add Syncing error boundary --- renderer/containers/Syncing.js | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/renderer/containers/Syncing.js b/renderer/containers/Syncing.js index 92c27611c51..6ee127dc2a2 100644 --- a/renderer/containers/Syncing.js +++ b/renderer/containers/Syncing.js @@ -10,6 +10,7 @@ import { showNotification } from 'reducers/notification' import Syncing from 'components/Syncing' import { Modal, ModalOverlayStyles } from 'components/UI' import { useOnKeydown } from 'hooks' +import AppErrorBoundary from 'components/ErrorBoundary/AppErrorBoundary' const mapStateToProps = state => ({ address: addressSelectors.currentAddress(state), @@ -43,11 +44,13 @@ const ModalOverlay = styled.div` const SyncingModal = ({ onClose, ...rest }) => { useOnKeydown('Escape', onClose) return ( - - - - - + + + + + + + ) }