Skip to content

Commit

Permalink
even better
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Sep 16, 2023
1 parent 5f62b10 commit 986b9f8
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions docs/src/modules/components/DemoErrorBoundary.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,15 +71,16 @@ export default class DemoErrorBoundary extends React.Component {
This demo had a runtime error!
</Typography>
<Typography>
We would appreciate it if you{' '}
{'We would appreciate it if you '}
<Link href={issueLink} rel="noreferrer" target="_blank">
report this error
</Link>{' '}
directly in our issue tracker. You will be provided with a prefilled description that
includes valuable information about this error.
</Link>
{
' directly in our issue tracker with the steps you took to trigger it. The "report this error" link prefills the issue description with valuable information.'
}
</Typography>
<pre style={{ whiteSpace: 'pre-wrap' }}>{error.toString()}</pre>
<Button color="secondary" onClick={onResetDemoClick} variant="text">
<Button onClick={onResetDemoClick} variant="text">
{t('resetDemo')}
</Button>
</div>
Expand Down

0 comments on commit 986b9f8

Please sign in to comment.