Skip to content

Commit

Permalink
tiny clenup (remove console.log statement used for testing && comment…
Browse files Browse the repository at this point in the history
… capitalization)
  • Loading branch information
ianlennymatthews committed Mar 18, 2021
1 parent 507194b commit c57bde9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions client/src/components/Quiz.jsx
Expand Up @@ -155,10 +155,7 @@ const Quiz = () => {
key={i}
className="quiz-question-item"
type="primary"
onPress={() => {
console.log(this);
handleSelect(question.value);
}}
onPress={() => handleSelect(question.value)}
>
{question.value}
</AwesomeButton>
Expand Down
2 changes: 1 addition & 1 deletion server/index.js
Expand Up @@ -19,7 +19,7 @@ app.use(bodyParser.urlencoded({ extended: true }));
//Current Question
let currentQuestion = {};

//Get REQUEST
//Get Request
app.get('/question', (req, res) => {
let { id } = req.query;
currentQuestion = Questions[id];
Expand Down

0 comments on commit c57bde9

Please sign in to comment.