From 58c55ed88bc5e4f1c15df46d4a91f489fc7bc073 Mon Sep 17 00:00:00 2001 From: "Michael Bradley, Jr" Date: Tue, 3 Sep 2019 09:53:49 -0500 Subject: [PATCH] fix(@cockpit): PropTypes typos: boolean -> bool, function -> func --- packages/embark-ui/src/components/SignAndVerify.js | 8 ++++---- .../embark-ui/src/containers/SignAndVerifyContainer.js | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/embark-ui/src/components/SignAndVerify.js b/packages/embark-ui/src/components/SignAndVerify.js index fa06cfb20..1f2728c0c 100644 --- a/packages/embark-ui/src/components/SignAndVerify.js +++ b/packages/embark-ui/src/components/SignAndVerify.js @@ -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; diff --git a/packages/embark-ui/src/containers/SignAndVerifyContainer.js b/packages/embark-ui/src/containers/SignAndVerifyContainer.js index f9e02a8c6..9759be935 100644 --- a/packages/embark-ui/src/containers/SignAndVerifyContainer.js +++ b/packages/embark-ui/src/containers/SignAndVerifyContainer.js @@ -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 };