mirror of
https://github.com/mue/mue.git
synced 2026-07-19 15:04:11 +02:00
fix: various fixes and date zero-padded feature
This commit is contained in:
@@ -19,10 +19,12 @@ export default class ErrorBoundary extends React.PureComponent {
|
||||
render() {
|
||||
if (this.state.error) {
|
||||
return (
|
||||
<div style={{'textAlign': 'center'}}>
|
||||
<h1>{this.language.title}</h1>
|
||||
<p>{this.language.message}</p>
|
||||
<button className='refresh' onClick={() => window.location.reload()}>{this.language.refresh}</button>
|
||||
<div className='emptyitems'>
|
||||
<div className='emptyMessage'>
|
||||
<h1>{this.language.title}</h1>
|
||||
<p>{this.language.message}</p>
|
||||
<button className='refresh' onClick={() => window.location.reload()}>{this.language.refresh}</button>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user