mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +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[]>()
|
||||
|
||||
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 (
|
||||
|
Loading…
Reference in New Issue
Block a user