We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent db0d6ea commit 1d67cfeCopy full SHA for 1d67cfe
src/view/swap/swapPrice/index.tsx
@@ -112,15 +112,14 @@ const SwapPrice = () => {
112
bordered={false}
113
style={{
114
textAlign: 'right',
115
- fontSize: 20,
+ fontSize: 24,
116
padding: 0,
117
}}
118
placeholder="New Price"
119
value={price}
120
- onChange={(e: ChangeEvent<HTMLInputElement>) => {
121
- const value = e.target.value
122
- setPrice(value)
123
- }}
+ onChange={(e: ChangeEvent<HTMLInputElement>) =>
+ setPrice(e.target.value || '')
+ }
124
/>
125
</Col>
126
<Col span={24}>
0 commit comments