diff --git a/imports/ui/About.jsx b/imports/ui/About.jsx index 0208736..28da0d1 100644 --- a/imports/ui/About.jsx +++ b/imports/ui/About.jsx @@ -13,6 +13,7 @@ class About extends Component { About + {/* should escape quote here */}
Dixit is a card game using a deck of cards illustrated with dreamlike images, players select cards that match a title suggestsed by the "storyteller", and attempt to vote which card the "storyteller" selected...
diff --git a/imports/ui/App.jsx b/imports/ui/App.jsx index 42bfac4..31bf313 100644 --- a/imports/ui/App.jsx +++ b/imports/ui/App.jsx @@ -35,9 +35,11 @@ class App extends Component {
+ {/* How to get to this page */} + {/* You can Do something : */} {this.props.myData.length === 0 ? :
{this.props.myData[0].ingame ? : }
diff --git a/imports/ui/HomePage.jsx b/imports/ui/HomePage.jsx index 2b4e4b0..a4d26d3 100644 --- a/imports/ui/HomePage.jsx +++ b/imports/ui/HomePage.jsx @@ -4,7 +4,7 @@ class HomePage extends Component { render() { return (
- + {/* Here you better have something in the landing page */}
); } diff --git a/imports/ui/MyGame.jsx b/imports/ui/MyGame.jsx index a68281a..a105edc 100644 --- a/imports/ui/MyGame.jsx +++ b/imports/ui/MyGame.jsx @@ -475,6 +475,7 @@ class MyGame extends Component {
:
+ {/* TargetCard might be null */} {this.state.stage === 2 && this.state.isHost?

@@ -660,7 +661,7 @@ MyGame.propTypes = { cards: PropTypes.arrayOf(PropTypes.object).isRequired, ready: PropTypes.bool.isRequired }; - +/* Is it better to pass myGame from App into MyGame? */ export default withTracker(() => { const handle = Meteor.subscribe("myGame"); const handle2 = Meteor.subscribe("gameData");