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

@@ -14,7 +14,7 @@ import {useEffect, useState} from "react";
export default function NoticeDetails() {
const {id} = useLocalSearchParams();
const [image, setImage] = useState(null);
const [image, setImage] = useState("https://http.cat/404.jpg");
const {
data: notice,