myheats

Live heats, scoring and leaderboard for sport events
git clone https://git.in0rdr.ch/myheats.git
Log | Files | Refs | Pull requests | README | LICENSE

commit 964f6bf3044879a0ad4fd67710b608f1c0b3880b
parent fc762124c7c021ac0c399f2d1b7ae9f732fd1ad7
Author: Andreas Gruhler <andreas.gruhler@adfinis.com>
Date:   Sat,  8 Jul 2023 10:15:59 +0200

feat: remove emoji in button

Diffstat:
Msrc/Athletes.jsx | 4++--
Msrc/Heats.jsx | 2+-
Msrc/Leaderboard.jsx | 2+-
Msrc/Startlist.jsx | 4++--
4 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/Athletes.jsx b/src/Athletes.jsx @@ -95,7 +95,7 @@ function AthleteForm({session}) { <td data-title='Lastname'>{a.lastname}</td> <td data-title='Birthday'>{a.birthday}</td> <td data-title='School'>{a.school}</td> - <td><button onClick={e => deleteAthlete(e, a.id, a.firstname, a.lastname)}>🗑️ delete</button></td> + <td><button onClick={e => deleteAthlete(e, a.id, a.firstname, a.lastname)}>&ndash; delete</button></td> </tr> ))} <tr> @@ -118,7 +118,7 @@ function AthleteForm({session}) { <input type='text' name='school' defaultValue='School/team' /> </td> <td> - <button type='submit'>➕ new</button> + <button type='submit'>&#43; new</button> </td> </tr> </tbody> diff --git a/src/Heats.jsx b/src/Heats.jsx @@ -102,7 +102,7 @@ function HeatForm({session}) { name='planned_start' /> </td> <td> - <button type='submit'>➕ new</button> + <button type='submit'>&#43; new</button> </td> </tr> </tbody> diff --git a/src/Leaderboard.jsx b/src/Leaderboard.jsx @@ -191,7 +191,7 @@ function NewHeatForm(leaderboard, rankingComp, selectHeatRef, selectRankRef) { <input type='number' name='size' defaultValue='10' /> </td> <td> - <button type='submit'>➕ new</button> + <button type='submit'>&#43; new</button> </td> </tr> </tbody> diff --git a/src/Startlist.jsx b/src/Startlist.jsx @@ -125,7 +125,7 @@ function StartlistForm({heatId}) { i.athlete.firstname, i.athlete.lastname, heatName - )}>🗑️ remove</button></td> + )}>&ndash; remove</button></td> </tr> ))} <tr> @@ -136,7 +136,7 @@ function StartlistForm({heatId}) { /> </td> <td> - <button onClick={(e) => addAthleteToHeat(e, selectedAthlete, heatId)}>➕ add</button> + <button onClick={(e) => addAthleteToHeat(e, selectedAthlete, heatId)}>&#43; add</button> </td> </tr> </tbody>