diff --git a/taker-frontend/src/App.tsx b/taker-frontend/src/App.tsx
index aae240e..db1803c 100644
--- a/taker-frontend/src/App.tsx
+++ b/taker-frontend/src/App.tsx
@@ -100,9 +100,6 @@ export const App = () => {
500,
);
- const format = (val: any) => `$` + val;
- const parse = (val: any) => val.replace(/^\$/, "");
-
return (
<>
@@ -119,7 +116,7 @@ export const App = () => {
{
liquidationPrice={liquidationPrice}
onQuantityChange={(valueString: string) => {
setUserHasEdited(true);
- setQuantity(parse(valueString));
+ setQuantity(valueString);
}}
onLongSubmit={makeNewOrderRequest}
isLongSubmitting={isCreatingNewOrderRequest}
diff --git a/taker-frontend/src/components/Trade.tsx b/taker-frontend/src/components/Trade.tsx
index e16a6c5..186393e 100644
--- a/taker-frontend/src/components/Trade.tsx
+++ b/taker-frontend/src/components/Trade.tsx
@@ -15,6 +15,8 @@ import {
Grid,
GridItem,
HStack,
+ InputGroup,
+ InputLeftAddon,
Modal,
ModalBody,
ModalCloseButton,
@@ -281,19 +283,22 @@ function Quantity({ min, max, onChange, quantity }: QuantityProps) {
return (
Quantity
-
-
-
-
-
-
-
+
+ $
+
+
+
+
+
+
+
+
How much do you want to buy or sell?
);