1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-12-02 05:57:29 +01:00
This commit is contained in:
Matthias Kretschmann 2020-10-27 21:05:09 +01:00
parent e57f675282
commit fd1a7f263a
Signed by: m
GPG Key ID: 606EEEF3C479A91F
2 changed files with 1 additions and 2 deletions

View File

@ -92,7 +92,7 @@ export default function Add({
// Get maximum amount for either OCEAN or datatoken
useEffect(() => {
if (!ocean) return
if (!ocean || !poolAddress) return
async function getMaximum() {
const amountMaxPool =

View File

@ -7,7 +7,6 @@ import AssetList from '../../organisms/AssetList'
export default function PublishedList(): ReactElement {
const { ocean, status, accountId } = useOcean()
// TODO: wait for ocean-lib-js with https://github.com/oceanprotocol/ocean-lib-js/pull/308
const [queryResult, setQueryResult] = useState<QueryResult>()
const [isLoading, setIsLoading] = useState(false)