Browse Source
Display available quantity in the taker
It becomes important when someone else controls the offers from the maker.
testing
Mariusz Klochowicz
3 years ago
No known key found for this signature in database
GPG Key ID: 470C865699C8D4D
1 changed files with
4 additions and
0 deletions
-
frontend/src/TakerApp.tsx
|
|
@ -153,6 +153,10 @@ export default function App() { |
|
|
|
<Text align={"left"}>Order Price:</Text> |
|
|
|
<Text>{order?.price}</Text> |
|
|
|
|
|
|
|
<Text align={"left"}>Available Quantity:</Text> |
|
|
|
<Text> |
|
|
|
{order ? (format(order?.min_quantity) + "-" + format!(order?.max_quantity)) : "None"} |
|
|
|
</Text> |
|
|
|
<Text>Quantity:</Text> |
|
|
|
<CurrencyInputField |
|
|
|
onChange={(valueString: string) => { |
|
|
|