1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-11-15 01:34:57 +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 { .output p {
font-weight: var(--font-weight-bold); font-weight: var(--font-weight-bold);
margin-bottom: calc(var(--spacer) / 4);
} }

View File

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

View File

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