diff --git a/client/src/pages/homepage/components/last-updated.js b/client/src/pages/homepage/components/last-updated.js index d5998b3..074483d 100644 --- a/client/src/pages/homepage/components/last-updated.js +++ b/client/src/pages/homepage/components/last-updated.js @@ -34,14 +34,15 @@ export default function LastUpdated() { const { data, error, isLoading } = useLastUpdates(); if (!data) return null; - if (isLoading) return
Loading
; + if (isLoading) returnChargement
; if (error) returnErreur
; if (!data?.length) return null; + return (
Mis à jour le
{' '}