mirror of
https://github.com/lowdefy/lowdefy.git
synced 2025-04-06 15:30:30 +08:00
fix(blockTools): Update error defaults.
This commit is contained in:
parent
9775e24273
commit
cc02a89571
@ -45,8 +45,10 @@ const ErrorPage = ({ code, description, message, name }) => (
|
||||
borderLeft: '1px solid #aeaeae',
|
||||
}}
|
||||
>
|
||||
<div style={{ fontSize: '1.3em', fontWeight: '300', paddingBottom: 10 }}>{name}</div>
|
||||
<div style={{ fontSize: '0.9em' }}>{message}</div>
|
||||
<div style={{ fontSize: '1.3em', fontWeight: '300', paddingBottom: 10 }}>
|
||||
{name || 'Error'}
|
||||
</div>
|
||||
<div style={{ fontSize: '0.9em' }}>{message || 'An error has occurred.'}</div>
|
||||
<div style={{ fontSize: '0.9em' }}>{description}</div>
|
||||
<div style={{ paddingTop: 20 }}>
|
||||
<a href="/">Return to home page</a>
|
||||
|
@ -69,14 +69,18 @@ test('default', () => {
|
||||
"paddingBottom": 10,
|
||||
}
|
||||
}
|
||||
/>
|
||||
>
|
||||
Error
|
||||
</div>
|
||||
<div
|
||||
style={
|
||||
Object {
|
||||
"fontSize": "0.9em",
|
||||
}
|
||||
}
|
||||
/>
|
||||
>
|
||||
An error has occurred.
|
||||
</div>
|
||||
<div
|
||||
style={
|
||||
Object {
|
||||
|
Loading…
x
Reference in New Issue
Block a user