fix error
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Anang Yusman 2026-03-17 00:33:49 +08:00
parent c1e0c4fa63
commit 81fd21a4b0
1 changed files with 3 additions and 0 deletions

View File

@ -20,6 +20,7 @@ export default function ImageCard() {
const [page] = useState(1);
const [showData] = useState("6");
const [search] = useState("");
const [selectedCategory, setSelectedCategory] = useState<number | null>(null);
async function initState() {
const req = {
@ -29,6 +30,8 @@ export default function ImageCard() {
categorySlug: "",
sort: "desc",
isPublish: true,
title: search,
categoryId: selectedCategory,
sortBy: "created_at",
};