From a415dc250ffeb6523730538fe941bd8d812c1280 Mon Sep 17 00:00:00 2001 From: Darius BERTRAND Date: Fri, 20 Jan 2023 10:30:06 +0100 Subject: [PATCH] end --- Site Web/client/src/components/Post/DisplayPosts.js | 2 +- Site Web/client/src/pages/SearchBar.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Site Web/client/src/components/Post/DisplayPosts.js b/Site Web/client/src/components/Post/DisplayPosts.js index 250056ac..3eea42d1 100644 --- a/Site Web/client/src/components/Post/DisplayPosts.js +++ b/Site Web/client/src/components/Post/DisplayPosts.js @@ -20,7 +20,7 @@ const DisplayPosts = ( {type} ) => { useEffect(() => { if (loadPost) { if(type === "discover"){ - dispatch(getPostsDisc(count)); + dispatch(getPostsDisc(count+100)); } else{ dispatch(getPosts(count)); diff --git a/Site Web/client/src/pages/SearchBar.js b/Site Web/client/src/pages/SearchBar.js index ca6f8d11..4fd67adc 100644 --- a/Site Web/client/src/pages/SearchBar.js +++ b/Site Web/client/src/pages/SearchBar.js @@ -81,7 +81,7 @@ const SearchBar = () => { -
+