diff --git a/app/src/ErrorBoundary.tsx b/app/src/ErrorBoundary.tsx index 8c61357..6d069a9 100644 --- a/app/src/ErrorBoundary.tsx +++ b/app/src/ErrorBoundary.tsx @@ -1,5 +1,4 @@ import * as React from 'react' -import * as q from '../../backend/src/Model' import { Button, Modal, @@ -56,9 +55,9 @@ class ErrorBoundary extends React.Component { Oooooops! - I hoped that you would never see this window, but MQTT-Explorer had an unexpected error. - -
+          I hoped that you would never see this window, but MQTT-Explorer had an unexpected error.
+          
+          
             
               {this.state.error.stack}
             
@@ -68,8 +67,10 @@ class ErrorBoundary extends React.Component {
              https://github.com/thomasnordquist/MQTT-Explorer/issues
           
           
-
-
+
+ + +
@@ -78,11 +79,14 @@ class ErrorBoundary extends React.Component { } const styles = (theme: Theme) => ({ + button: { + margin: '0 8px 0 8px', + }, root: { minWidth: 550, maxWidth: 650, backgroundColor: theme.palette.background.default, - margin: '14vh auto auto auto', + margin: '10vh auto auto auto', padding: `${2 * theme.spacing.unit}px`, outline: 'none', }, @@ -94,6 +98,9 @@ const styles = (theme: Theme) => ({ textColor: { color: theme.palette.text.primary, }, + centered: { + textAlign: 'center' as 'center', + }, buttonPositioning: { textAlign: 'center' as 'center', marginTop: `${theme.spacing.unit * 2}px`,