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
|
||||
did: string
|
||||
}): ReactElement {
|
||||
const { ocean, balanceInOcean } = useOcean()
|
||||
// const { ocean, balanceInOcean } = useOcean()
|
||||
const { access } = metadata.additionalInformation
|
||||
const isCompute = access && access === 'Compute'
|
||||
|
||||
@ -26,12 +26,13 @@ export default function AssetActions({
|
||||
<div className={styles.tabContent}>
|
||||
<TabPanel>
|
||||
{isCompute ? (
|
||||
<Compute
|
||||
did={did}
|
||||
metadata={metadata}
|
||||
ocean={ocean}
|
||||
balance={balanceInOcean}
|
||||
/>
|
||||
// <Compute
|
||||
// did={did}
|
||||
// metadata={metadata}
|
||||
// ocean={ocean}
|
||||
// balance={balanceInOcean}
|
||||
// />
|
||||
'Compute Me'
|
||||
) : (
|
||||
<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 {
|
||||
|
Loading…
Reference in New Issue
Block a user