diff --git a/src/ui/components/ConceptCard.js b/src/ui/components/ConceptCard.js index 118f8093..0a71dde8 100644 --- a/src/ui/components/ConceptCard.js +++ b/src/ui/components/ConceptCard.js @@ -49,10 +49,10 @@ class ConceptCard extends Component {
-
+
this.handleExpandClick()}> {this.state.expand ? - this.handleExpandClick()} /> : - this.handleExpandClick()}/> + : + }

{this.props.title}

diff --git a/src/ui/components/Navbar.js b/src/ui/components/Navbar.js index 2b236f8d..05dcfbde 100644 --- a/src/ui/components/Navbar.js +++ b/src/ui/components/Navbar.js @@ -16,7 +16,9 @@ import MenuItem from '@material-ui/core/MenuItem/MenuItem'; */ type Props = { - firebaseUser: ?FirebaseUser + firebaseUser: ?FirebaseUser, + display: string, + switchToWorldView: Function } class Navbar extends Component { @@ -56,9 +58,19 @@ class Navbar extends Component {
- + {this.props.display === "EXERCISE" ? +
:
+ } + Koconut + {this.props.firebaseUser && (