diff options
Diffstat (limited to 'web/source/settings/components/error.jsx')
-rw-r--r-- | web/source/settings/components/error.jsx | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/web/source/settings/components/error.jsx b/web/source/settings/components/error.jsx index 7f718b3f5..283083481 100644 --- a/web/source/settings/components/error.jsx +++ b/web/source/settings/components/error.jsx @@ -31,12 +31,14 @@ function ErrorFallback({ error, resetErrorBoundary }) { <a href="https://matrix.to/#/#gotosocial-help:superseriousbusiness.org">Matrix support room</a>. <br />Include the details below: </p> - <pre> - {error.name}: {error.message} - </pre> - <pre> - {error.stack} - </pre> + <div className="details"> + <pre> + {error.name}: {error.message} + </pre> + <pre> + {error.stack} + </pre> + </div> <p> <button onClick={resetErrorBoundary}>Try again</button> or <a href="">refresh the page</a> </p> |