diff options
| -rw-r--r-- | app/components/calculator.tsx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/components/calculator.tsx b/app/components/calculator.tsx index 532781d..3ce91e7 100644 --- a/app/components/calculator.tsx +++ b/app/components/calculator.tsx | |||
| @@ -79,6 +79,7 @@ export const Calculator = () => { | |||
| 79 | onChange={(e) => handleUpdate("sats", e.target.value)} | 79 | onChange={(e) => handleUpdate("sats", e.target.value)} |
| 80 | value={sats} | 80 | value={sats} |
| 81 | type="text" | 81 | type="text" |
| 82 | pattern="[0-9]*" | ||
| 82 | id="sats" | 83 | id="sats" |
| 83 | name="sats" | 84 | name="sats" |
| 84 | /> | 85 | /> |
| @@ -89,6 +90,7 @@ export const Calculator = () => { | |||
| 89 | onChange={(e) => handleUpdate("btc", e.target.value)} | 90 | onChange={(e) => handleUpdate("btc", e.target.value)} |
| 90 | value={btc} | 91 | value={btc} |
| 91 | type="text" | 92 | type="text" |
| 93 | pattern="[0-9]*" | ||
| 92 | id="btc" | 94 | id="btc" |
| 93 | name="btc" | 95 | name="btc" |
| 94 | /> | 96 | /> |
| @@ -102,6 +104,7 @@ export const Calculator = () => { | |||
| 102 | onChange={(e) => handleUpdate("usd", e.target.value)} | 104 | onChange={(e) => handleUpdate("usd", e.target.value)} |
| 103 | value={usd} | 105 | value={usd} |
| 104 | type="text" | 106 | type="text" |
| 107 | pattern="[0-9]*" | ||
| 105 | id="usd" | 108 | id="usd" |
| 106 | name="usd" | 109 | name="usd" |
| 107 | /> | 110 | /> |
