mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-27 20:49:53 +08:00
docs: Rephrase 500 error (#23570)
* Rephrase 500 error 'Server is wrong' is not a clear sentence for users. I propose to use 'Something went wrong' with 500. * Update demo.test.js.snap
This commit is contained in:
parent
175e0aaa14
commit
336a6fba42
@ -1005,7 +1005,7 @@ exports[`renders ./components/result/demo/500.md correctly 1`] = `
|
||||
<div
|
||||
class="ant-result-subtitle"
|
||||
>
|
||||
Sorry, the server is wrong.
|
||||
Sorry, something went wrong.
|
||||
</div>
|
||||
<div
|
||||
class="ant-result-extra"
|
||||
|
@ -11,7 +11,7 @@ title:
|
||||
|
||||
## en-US
|
||||
|
||||
The server is wrong.
|
||||
Something went wrong on server.
|
||||
|
||||
```jsx
|
||||
import { Result, Button } from 'antd';
|
||||
@ -20,7 +20,7 @@ ReactDOM.render(
|
||||
<Result
|
||||
status="500"
|
||||
title="500"
|
||||
subTitle="Sorry, the server is wrong."
|
||||
subTitle="Sorry, something went wrong."
|
||||
extra={<Button type="primary">Back Home</Button>}
|
||||
/>,
|
||||
mountNode,
|
||||
|
Loading…
Reference in New Issue
Block a user