Skip to content

Commit

Permalink
message popup when score submitted
Browse files Browse the repository at this point in the history
  • Loading branch information
rhernandez-intertech committed Oct 31, 2024
1 parent 4c86fa4 commit 4fb13c9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/EndGameReport/SubmitScoreForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ export default function SubmitScoreForm(props: SubmitScoreFormPageProps) {
const handleSubmit = (event) => {
sendData(data);
event.preventDefault();
// alert(`The name that you entered was: ${name} \n
// ${scoreData.carbonSavingsPercent}, ${scoreData.gameTotalSpending}, ${scoreData.costPerCarbonSavings}, ${scoreData.projectedFinancedSpending}`);
alert(`${name}, your score has been successfully submitted!`);
}

const buttons: ButtonGroupButton[] = [
Expand Down

0 comments on commit 4fb13c9

Please sign in to comment.