+ {loading && items.length === 0 ? (
+
+ {Array.from({ length: 10 }, (_, i) => i).map((n) => (
+
+ ))}
+
+ ) : error ? (
+
+ {error}
+
+ ) : filteredItems.length === 0 ? (
+
+
+
+ {activeSearch
+ ? `No furni found for "${activeSearch}"`
+ : "Search the official Habbo furni library to get started."}
+
+
+ ) : (
+ <>
+
+ {filteredItems.map((item) => {
+ const isSel = selected.has(item.classname);
+ return (
+
+ );
+ })}
+
+
+ {meta && meta.currentPage < meta.lastPage && (
+
+
+ fetchItems(activeSearch, meta.currentPage + 1)
+ }
+ disabled={loading}
+ >
+ {loading ? (
+
+ ) : (
+
+ )}
+ Load more ({meta.total - meta.currentPage * meta.perPage}{" "}
+ left)
+
+
+ )}
+ >
+ )}
+
+
+ {batchProgress ? (
+