Carousel links + press "Enter" to search (pu juste le boutton)
This commit is contained in:
@@ -31,8 +31,7 @@ const Morceaux = () => {
|
||||
|
||||
const response = await fetch(url);
|
||||
const json = await response.json();
|
||||
if (json.length > 0)
|
||||
setProducts([...json]);
|
||||
setProducts([...json]);
|
||||
}
|
||||
|
||||
|
||||
@@ -123,11 +122,6 @@ const Morceaux = () => {
|
||||
</div>
|
||||
<div className={isLoading ? "cat-load" : "d-none cat-load"} />
|
||||
<script type="text/javascript" async src="https://tenor.com/embed.js"></script>
|
||||
{/* <div>
|
||||
{!isSearch && <Button onClick={handleNextItems} className='btn-load-more'>
|
||||
...
|
||||
</Button>}
|
||||
</div> */}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user