Status 写反了
This commit is contained in:
parent
6b6b3b9e72
commit
09d0dcc162
|
@ -139,7 +139,7 @@
|
|||
"react-testing-library": "6.0.4",
|
||||
"strip-json-comments": "^2.0.1",
|
||||
"ts-jest": "^24.0.0",
|
||||
"typescript": "^3.9.3"
|
||||
"typescript": "^3.9.5"
|
||||
},
|
||||
"jest": {
|
||||
"testEnvironment": "jsdom",
|
||||
|
|
|
@ -16,8 +16,8 @@ export class StatusField extends React.Component<StatusProps, object> {
|
|||
static defaultProps: Partial<StatusProps> = {
|
||||
placeholder: '-',
|
||||
map: {
|
||||
0: 'svg-success',
|
||||
1: 'svg-fail',
|
||||
0: 'svg-fail',
|
||||
1: 'svg-success',
|
||||
success: 'svg-success',
|
||||
pending: 'rolling',
|
||||
fail: 'svg-fail',
|
||||
|
|
Loading…
Reference in New Issue