build search global
This commit is contained in:
@@ -207,7 +207,6 @@ export function Gallery() {
|
|||||||
: (() => {
|
: (() => {
|
||||||
const count = data?.total ?? 0;
|
const count = data?.total ?? 0;
|
||||||
const showing = data?.memes.length ?? 0;
|
const showing = data?.memes.length ?? 0;
|
||||||
const showing = data?.memes.length ?? 0;
|
|
||||||
let label = `${count} meme${count !== 1 ? 's' : ''}`;
|
let label = `${count} meme${count !== 1 ? 's' : ''}`;
|
||||||
if (isUnsorted && count > 50 && !debouncedSearch && !activeTag) {
|
if (isUnsorted && count > 50 && !debouncedSearch && !activeTag) {
|
||||||
label = `Showing last 50 of ${count}`;
|
label = `Showing last 50 of ${count}`;
|
||||||
|
|||||||
Reference in New Issue
Block a user