From ace7e888656d1483f439a7e70374b2377b8faa76 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Wed, 15 Jul 2020 13:23:08 +0200 Subject: [PATCH] method rename --- src/components/pages/Home.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/pages/Home.tsx b/src/components/pages/Home.tsx index eb47ab283..a0decf4f9 100644 --- a/src/components/pages/Home.tsx +++ b/src/components/pages/Home.tsx @@ -10,7 +10,7 @@ export default function HomePage(): ReactElement { const [assets, setAssets] = useState() 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 (