mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-05 08:53:14 +00:00
Prop type check repair (#2919)
* repair intent check wraning * change doublequote to singlequote, add semicolon * optimized code * modify type-check wraning
This commit is contained in:
@@ -26,11 +26,11 @@ class ListRepoDraftsDialog extends React.Component {
|
||||
let drafts = res.data.drafts.map(item => {
|
||||
let draft = new Draft(item);
|
||||
return draft;
|
||||
})
|
||||
});
|
||||
this.setState({
|
||||
drafts: drafts
|
||||
});
|
||||
})
|
||||
});
|
||||
}
|
||||
|
||||
toggle = () => {
|
||||
|
Reference in New Issue
Block a user