few fixes

categories are now pulled from backend
This commit is contained in:
2025-05-05 10:13:06 +02:00
parent 05916b959c
commit 0a7be2e27b
4 changed files with 43 additions and 6 deletions

View File

@@ -19,7 +19,7 @@ export function NoticeCard({notice}) {
const isInWishlist = useWishlist((state) =>
state.wishlistNotices.some((item) => item.noticeId === notice.noticeId)
);
const [image, setImage] = useState(null);
const [image, setImage] = useState("https://http.cat/404.jpg");
useEffect(() => {
const fetchImage = async () => {