-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
- FIRE - Stacy's Exquisite #36
base: master
Are you sure you want to change the base?
Conversation
…ot a function ???
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work Stacy, you have a fully functional Exquisite corpse game and you got all the tests to pass. Well done.
See my notes on the stringFormat
and some of the warnings you're getting.
} | ||
|
||
PlayerSubmissionForm.propTypes = { | ||
index: PropTypes.number.isRequired, | ||
sendSubmission: PropTypes.func.isRequired, | ||
isSubmitted: PropTypes.bool.isRequired, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a note, that because you've added this prop the tests are giving a warning because the tests aren't using. If you add that prop to the tests, the warning will stop.
submission: PropTypes.string.isRequired, | ||
isSubmitted: PropTypes.bool.isRequired, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also if you're not using submission
as a prop, you should change it. You're getting a warning because this is required, but you're not using it.
@@ -22,14 +49,14 @@ const Game = () => { | |||
<p>Please follow the following format for your poetry submission:</p> | |||
|
|||
<p className="Game__format-example"> | |||
{ exampleFormat } | |||
{ stringFormat } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
stringFormat is a function here, so you can't render it. I'm not sure what this is supposed to do.
Assignment Submission: Exquisite React
Congratulations! You're submitting your assignment. Please reflect on the assignment with these questions.
Reflection