fix(@cockpit): PropTypes typos: boolean -> bool, function -> func

This commit is contained in:
Michael Bradley, Jr 2019-09-03 09:53:49 -05:00 committed by Michael Bradley
parent 939596cd58
commit 58c55ed88b
2 changed files with 6 additions and 6 deletions

View File

@ -99,14 +99,14 @@ class SignAndVerify extends React.Component {
SignAndVerify.propTypes = {
accounts: PropTypes.array,
signMessage: PropTypes.function,
signMessage: PropTypes.func,
signatureError: PropTypes.string,
signaturePending: PropTypes.function,
signaturePending: PropTypes.func,
signedMessage: PropTypes.string,
verificationError: PropTypes.string,
verificationPending: PropTypes.boolean,
verificationPending: PropTypes.bool,
verifiedAddress: PropTypes.string,
verifyMessage: PropTypes.function
verifyMessage: PropTypes.func
};
export default SignAndVerify;

View File

@ -48,10 +48,10 @@ SignAndVerifyContainer.propTypes = {
fetchAccounts: PropTypes.func,
signMessage: PropTypes.func,
signatureError: PropTypes.string,
signaturePending: PropTypes.boolean,
signaturePending: PropTypes.bool,
signedMessage: PropTypes.string,
verificationError: PropTypes.string,
verificationPending: PropTypes.boolean,
verificationPending: PropTypes.bool,
verifiedAddress: PropTypes.string,
verifyMessage: PropTypes.func
};