chore: fix miscellaneous errors from linters (#1555)

This commit is contained in:
Caleb
2018-07-31 15:03:46 -06:00
committed by Shawn Erquhart
parent d5f59de2d2
commit 5a27fb8b9d
35 changed files with 75 additions and 85 deletions

View File

@ -49,7 +49,7 @@ const FileWidgetButtonRemove = styled.button`
`
export default function withFileControl({ forImage } = {}) {
return class extends React.Component {
return class FileControl extends React.Component {
static propTypes = {
field: PropTypes.object.isRequired,
getAsset: PropTypes.func.isRequired,
@ -164,4 +164,4 @@ export default function withFileControl({ forImage } = {}) {
);
}
}
};
}