fix object prop types
This commit is contained in:
parent
0f31367e26
commit
6c14cd1e5b
2 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@ type Props = {
|
|||
thumbnail: ?string,
|
||||
formDisabled: boolean,
|
||||
uploadThumbnailStatus: string,
|
||||
openModal: (string, any) => void,
|
||||
openModal: (string, {}) => void,
|
||||
updatePublishForm: ({}) => void,
|
||||
};
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ type Props = {
|
|||
path: string,
|
||||
nsfw: boolean,
|
||||
closeModal: () => void,
|
||||
updatePublishForm: any => void,
|
||||
updatePublishForm: ({}) => void,
|
||||
};
|
||||
|
||||
class ModalConfirmThumbnailUpload extends React.PureComponent<Props> {
|
||||
|
|
Loading…
Reference in a new issue