1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-12-02 05:57:29 +01:00

input fixes

This commit is contained in:
Matthias Kretschmann 2020-08-26 20:46:34 +02:00
parent f8fd5bb76f
commit bd88f40d4d
Signed by: m
GPG Key ID: 606EEEF3C479A91F
3 changed files with 4 additions and 3 deletions

View File

@ -26,4 +26,5 @@
.output p {
font-weight: var(--font-weight-bold);
margin-bottom: calc(var(--spacer) / 4);
}

View File

@ -23,7 +23,7 @@ export default function Add({
totalBalance: Balance
}): ReactElement {
const { ocean, accountId, balance } = useOcean()
const [amount, setAmount] = useState<string>()
const [amount, setAmount] = useState('')
const [isLoading, setIsLoading] = useState<boolean>()
const newPoolTokens =

View File

@ -16,7 +16,7 @@ export default function Remove({
poolAddress: string
}): ReactElement {
const { ocean, accountId } = useOcean()
const [amount, setAmount] = useState<string>()
const [amount, setAmount] = useState('')
const [isLoading, setIsLoading] = useState<boolean>()
const maximumPoolShares = '?'
@ -64,7 +64,7 @@ export default function Remove({
{/* <Input name="dt" label={dtSymbol} type="number" placeholder="0" /> */}
<p>You will receive:</p>
<p>You will receive</p>
<div className={stylesIndex.actions}>
{isLoading ? (