mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-19 01:35:18 -04:00
Add prettier for codestyle and re-format everything (#1294)
This commit is contained in:
parent
8b78154075
commit
0aae1f70d2
319 changed files with 4809 additions and 3936 deletions
|
@ -38,17 +38,23 @@ export class ErrorBoundary extends Component {
|
|||
render(): ReactElement | undefined | null | string | number | boolean | Record<string, unknown> | ReactNodeArray {
|
||||
if (this.state.hasError) {
|
||||
return (
|
||||
<Container className="text-light d-flex flex-column mvh-100">
|
||||
<Container className='text-light d-flex flex-column mvh-100'>
|
||||
<div className='text-light d-flex flex-column align-items-center justify-content-center my-5'>
|
||||
<h1>An unknown error occurred</h1>
|
||||
<p>Don't worry, this happens sometimes. If this is the first time you see this page then try reloading the
|
||||
app.</p>
|
||||
<p>
|
||||
Don't worry, this happens sometimes. If this is the first time you see this page then try reloading the
|
||||
app.
|
||||
</p>
|
||||
If you can reproduce this error, then we would be glad if you 
|
||||
<ExternalLink text={ 'open an issue on github' } href={ frontendVersion.issueTrackerUrl }
|
||||
className={ 'text-primary' }/> 
|
||||
or <ExternalLink text={ 'contact us on matrix.' } href={ links.chat } className={ 'text-primary' }/>
|
||||
<Button onClick={ () => this.refreshPage() } title={ 'Reload App' } className={ 'mt-4' }>
|
||||
<ForkAwesomeIcon icon={ 'refresh' }/> Reload App
|
||||
<ExternalLink
|
||||
text={'open an issue on github'}
|
||||
href={frontendVersion.issueTrackerUrl}
|
||||
className={'text-primary'}
|
||||
/>
|
||||
  or <ExternalLink text={'contact us on matrix.'} href={links.chat} className={'text-primary'} />
|
||||
<Button onClick={() => this.refreshPage()} title={'Reload App'} className={'mt-4'}>
|
||||
<ForkAwesomeIcon icon={'refresh'} />
|
||||
Reload App
|
||||
</Button>
|
||||
</div>
|
||||
</Container>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue