From 723f93e6298597a74ce8977dc28482e3eb6641f5 Mon Sep 17 00:00:00 2001 From: Brett Sun Date: Mon, 11 Jan 2016 16:28:27 +0100 Subject: [PATCH] Update CC routes for loading user and whitelabel settings in top level app --- .../whitelabel/wallet/components/cc/cc_register_piece.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/js/components/whitelabel/wallet/components/cc/cc_register_piece.js b/js/components/whitelabel/wallet/components/cc/cc_register_piece.js index 5f33126a..ef440972 100644 --- a/js/components/whitelabel/wallet/components/cc/cc_register_piece.js +++ b/js/components/whitelabel/wallet/components/cc/cc_register_piece.js @@ -13,6 +13,11 @@ import { mergeOptions } from '../../../../../utils/general_utils'; let CCRegisterPiece = React.createClass({ propTypes: { + // Provided from AscribeApp + currentUser: React.PropTypes.object, + whitelabel: React.PropTypes.object, + + // Provided from router location: React.PropTypes.object }, @@ -85,6 +90,7 @@ let CCRegisterPiece = React.createClass({ setDocumentTitle(getLangText('Register a new piece')); return (