diff --git a/common/app/App.jsx b/common/app/App.jsx index 6ebfa221f0..1c6c547cc3 100644 --- a/common/app/App.jsx +++ b/common/app/App.jsx @@ -19,13 +19,19 @@ export default contain( displayName: 'FreeCodeCamp', propTypes: { - children: PropTypes.node + children: PropTypes.node, + username: PropTypes.string, + points: PropTypes.number, + picture: PropTypes.string }, render() { + const { username, points, picture } = this.props; + const navProps = { username, points, picture }; return (
-
); } else { return ( @@ -69,6 +88,7 @@ export default class extends React.Component { } render() { + const { username, points, picture } = this.props; return ( - + + + ); }