1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-12-02 05:57:29 +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[]>() 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 (