Skip to content
Snippets Groups Projects
Commit e4d7133f authored by lfr20's avatar lfr20
Browse files

Fixed the double seacrh

parent 65047983
No related branches found
No related tags found
2 merge requests!69Fixed upload page: recaptcha not implemented, lack of blocking (part one, two,...,!59Fix production bugs luis
......@@ -142,8 +142,10 @@ export default function Search(props) {
}, [window.history.state === null ? true : window.history.state.key, state.currentUser.id])
useEffect(() => {
setIsLoading(true);
collectStuff(option);
if (resultsPerPage > 12) {
setIsLoading(true);
collectStuff(option);
}
}, [resultsPerPage]);
return (
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment