mirror of
https://github.com/oceanprotocol/market.git
synced 2024-11-15 01:34:57 +01:00
method rename
This commit is contained in:
parent
7ba5e2c1f4
commit
ace7e88865
@ -10,7 +10,7 @@ export default function HomePage(): ReactElement {
|
|||||||
const [assets, setAssets] = useState<DDO[]>()
|
const [assets, setAssets] = useState<DDO[]>()
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
async function getAllAssets() {
|
async function getLatestAssets() {
|
||||||
const metadataStore = new MetadataStore(
|
const metadataStore = new MetadataStore(
|
||||||
oceanConfig.metadataStoreUri,
|
oceanConfig.metadataStoreUri,
|
||||||
Logger
|
Logger
|
||||||
@ -25,7 +25,7 @@ export default function HomePage(): ReactElement {
|
|||||||
|
|
||||||
result && result.results && setAssets(result.results)
|
result && result.results && setAssets(result.results)
|
||||||
}
|
}
|
||||||
getAllAssets()
|
getLatestAssets()
|
||||||
}, [])
|
}, [])
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
Loading…
Reference in New Issue
Block a user