diff --git a/.circleci/config.yml b/.circleci/config.yml index 1d3d46e98..a607bf8f4 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -53,10 +53,10 @@ commands: description: 'Setting up and building environment for mac' steps: - checkout - - restore_cache: - keys: - - v1-dependencies-mac-{{ checksum "package.json" }} - - v1-dependencies-mac + # - restore_cache: + # keys: + # - v1-dependencies-mac-{{ checksum "package.json" }} + # - v1-dependencies-mac - run: yarn jobs: diff --git a/src/renderer/root/shapes/dialogShape.js b/src/renderer/root/shapes/dialogShape.js index 9ef675e4f..992b9af44 100644 --- a/src/renderer/root/shapes/dialogShape.js +++ b/src/renderer/root/shapes/dialogShape.js @@ -1,11 +1,11 @@ -import { string, func, oneOf, oneOfType, any, shape } from 'prop-types'; +import { string, func, oneOf, oneOfType, node, shape } from 'prop-types'; import { TYPE_ALERT, TYPE_CONFIRM, TYPE_AUTH, TYPE_NEW_WALLET } from '../values/dialogs'; const alertShape = shape({ title: string, image: string, - children: any.isRequired, + children: node.isRequired, confirmLabel: string, onConfirm: func }); @@ -13,7 +13,7 @@ const alertShape = shape({ const confirmShape = shape({ title: string, image: string, - children: any.isRequired, + children: node.isRequired, confirmLabel: string, cancelLabel: string, onConfirm: func, @@ -21,7 +21,7 @@ const confirmShape = shape({ }); const authShape = shape({ - children: any, + children: node, onConfirm: func, onCancel: func });