master
Darius BERTRAND 2 years ago
parent 4b2ef0962f
commit 585bc2dc31

@ -22,8 +22,6 @@ const MiniProfil = ({uid} ) => {
return <p>Loading...</p>; return <p>Loading...</p>;
} }
return ( return (
<div className="ListReco"> <div className="ListReco">
<div className="UtiReco"> <div className="UtiReco">

@ -49,6 +49,10 @@ const PostNouvelleAffichage = ( { post } ) => {
!isEmpty(usersData[0]) && setIsLoading(false) !isEmpty(usersData[0]) && setIsLoading(false)
}) })
if(!isLoading){
return <p></p>;
}
return ( return (
<li className='PostesProfilConteneur' key={post._id}> <li className='PostesProfilConteneur' key={post._id}>
{isLoading ? ( {isLoading ? (

Loading…
Cancel
Save