upd: project

Deskripsi:
- tambah file pada project kegiatan

-nb : blm selesai

No Issues
This commit is contained in:
amel
2025-05-19 17:46:42 +08:00
parent b45822fff2
commit 3199d31d57
6 changed files with 178 additions and 40 deletions

View File

@@ -24,6 +24,7 @@ export default function SectionFile({ status, member }: { status: number | undef
const { token, decryptToken } = useAuthSession();
const { id } = useLocalSearchParams<{ id: string }>();
const [data, setData] = useState<Props[]>([]);
const update = useSelector((state: any) => state.projectUpdate)
async function handleLoad() {
try {
@@ -41,7 +42,7 @@ export default function SectionFile({ status, member }: { status: number | undef
useEffect(() => {
handleLoad();
}, []);
}, [update.file]);
return (
<>