Skip to content

Commit

Permalink
Fixed typo where repeat password had no label
Browse files Browse the repository at this point in the history
  • Loading branch information
Mister-Mario committed Apr 6, 2024
1 parent cbcdfe2 commit 84d94e2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
15 changes: 8 additions & 7 deletions webapp/src/components/loginAndRegistration/AddUser.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,14 @@ const AddUser = () => {
/>
</div>
<div className="input-box">
<input
type="password"
placeholder={t("addUser.repeat_password_placeholder")}
required
value={repeatPassword}
onChange={(e) => setRepeatPassword(e.target.value)}
/>
<p>{t("addUser.repeat_password_placeholder")}:</p>
<input
type="password"
placeholder={t("addUser.repeat_password_placeholder")}
required
value={repeatPassword}
onChange={(e) => setRepeatPassword(e.target.value)}
/>
</div>

<button type="submit">{t("addUser.register_button")}</button>
Expand Down
2 changes: 1 addition & 1 deletion webapp/src/components/questionView/QuestionView.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ function QuestionView(){
//sum one to the number of questions
setnumQuestion(numQuestion + 1);

//Last question sends the record
if(!(numQuestion < questions.length - 1)){
console.log("pasa")
creationHistoricalRecord.setDate(Date.now());
creationHistoricalRecord.setPoints(points);
creationHistoricalRecord.sendRecord(user.username);
Expand Down

0 comments on commit 84d94e2

Please sign in to comment.