mirror of
https://github.com/UiO-Gaming/bebbes.git
synced 2026-11-05 13:56:50 +01:00
prevent page reload when pressing enter
This commit is contained in:
1 parent
7d5cffdc98
commit
54b03fcfc8
1 file changed
+1
-1
@@ -37,7 +37,7 @@ const Calculator = () => {
|
||||
|
||||
return (
|
||||
<div className={styles.container}>
|
||||
<form className={styles.form}>
|
||||
<form className={styles.form} onSubmit={(e) => e.preventDefault()}>
|
||||
<input
|
||||
className={styles.formPeople}
|
||||
type="number"
|
||||
|
||||
Reference in new issue
Block a user