fix: various fixes and date zero-padded feature

This commit is contained in:
David Ralph
2021-04-17 11:17:46 +01:00
parent de417f5fd1
commit 6573ba9553
12 changed files with 74 additions and 35 deletions

View File

@@ -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>
);
}