mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
remove logs
This commit is contained in:
parent
565e7bfa31
commit
aec4568412
@ -176,8 +176,6 @@ function getAccessDetailsFromTokenPrice(
|
|||||||
const order = tokenPrice.orders[0]
|
const order = tokenPrice.orders[0]
|
||||||
const reusedOrder =
|
const reusedOrder =
|
||||||
order && order.reuses && order.reuses.length > 0 ? order.reuses[0] : null
|
order && order.reuses && order.reuses.length > 0 ? order.reuses[0] : null
|
||||||
console.log('order', order)
|
|
||||||
console.log('reusedOrder', reusedOrder)
|
|
||||||
// asset is owned if there is an order and asset has timeout 0 (forever) or if the condition is valid
|
// asset is owned if there is an order and asset has timeout 0 (forever) or if the condition is valid
|
||||||
accessDetails.isOwned =
|
accessDetails.isOwned =
|
||||||
timeout === 0 || Date.now() / 1000 - order.createdTimestamp < timeout
|
timeout === 0 || Date.now() / 1000 - order.createdTimestamp < timeout
|
||||||
|
@ -373,7 +373,6 @@ export default function Compute({
|
|||||||
}
|
}
|
||||||
LoggerInstance.log('[compute] Starting compute job response: ', response)
|
LoggerInstance.log('[compute] Starting compute job response: ', response)
|
||||||
setIsPublished(true)
|
setIsPublished(true)
|
||||||
console.log('setRefatchJobs true')
|
|
||||||
setRefatchJobs(!refatchJobs)
|
setRefatchJobs(!refatchJobs)
|
||||||
initPriceAndFees()
|
initPriceAndFees()
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
@ -113,7 +113,6 @@ export default function ComputeJobs({
|
|||||||
}, [fetchJobs])
|
}, [fetchJobs])
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
console.log('use effect ', refatchJobs)
|
|
||||||
fetchJobs()
|
fetchJobs()
|
||||||
}, [refatchJobs])
|
}, [refatchJobs])
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user