mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
comment out compute component for now
This commit is contained in:
parent
27779d538b
commit
9991c5452f
@ -13,7 +13,7 @@ export default function AssetActions({
|
|||||||
metadata: MetaDataMarket
|
metadata: MetaDataMarket
|
||||||
did: string
|
did: string
|
||||||
}): ReactElement {
|
}): ReactElement {
|
||||||
const { ocean, balanceInOcean } = useOcean()
|
// const { ocean, balanceInOcean } = useOcean()
|
||||||
const { access } = metadata.additionalInformation
|
const { access } = metadata.additionalInformation
|
||||||
const isCompute = access && access === 'Compute'
|
const isCompute = access && access === 'Compute'
|
||||||
|
|
||||||
@ -26,12 +26,13 @@ export default function AssetActions({
|
|||||||
<div className={styles.tabContent}>
|
<div className={styles.tabContent}>
|
||||||
<TabPanel>
|
<TabPanel>
|
||||||
{isCompute ? (
|
{isCompute ? (
|
||||||
<Compute
|
// <Compute
|
||||||
did={did}
|
// did={did}
|
||||||
metadata={metadata}
|
// metadata={metadata}
|
||||||
ocean={ocean}
|
// ocean={ocean}
|
||||||
balance={balanceInOcean}
|
// balance={balanceInOcean}
|
||||||
/>
|
// />
|
||||||
|
'Compute Me'
|
||||||
) : (
|
) : (
|
||||||
<Consume did={did} metadata={metadata} />
|
<Consume did={did} metadata={metadata} />
|
||||||
)}
|
)}
|
||||||
|
@ -16,7 +16,7 @@ export async function connectWallet(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
await connect({ providerOptions })
|
await connect({ cacheProvider: true, providerOptions })
|
||||||
}
|
}
|
||||||
|
|
||||||
export function accountTruncate(account: string): string {
|
export function accountTruncate(account: string): string {
|
||||||
|
Loading…
Reference in New Issue
Block a user