1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-11-14 17:24:51 +01:00

method rename

This commit is contained in:
Matthias Kretschmann 2020-07-15 13:23:08 +02:00
parent 7ba5e2c1f4
commit ace7e88865
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -10,7 +10,7 @@ export default function HomePage(): ReactElement {
const [assets, setAssets] = useState<DDO[]>()
useEffect(() => {
async function getAllAssets() {
async function getLatestAssets() {
const metadataStore = new MetadataStore(
oceanConfig.metadataStoreUri,
Logger
@ -25,7 +25,7 @@ export default function HomePage(): ReactElement {
result && result.results && setAssets(result.results)
}
getAllAssets()
getLatestAssets()
}, [])
return (