mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
cleanup
This commit is contained in:
parent
e57f675282
commit
fd1a7f263a
@ -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 =
|
||||
|
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user