rev : diskusi umum

Deskripsip:
- api list data
- api create data
- ui list data
- ui create data

nb : blm selesai

NO ISsues
This commit is contained in:
amel
2024-12-30 17:14:53 +08:00
parent 5d5b5dabdf
commit c3fbdbfede
11 changed files with 754 additions and 11 deletions

View File

@@ -0,0 +1,4 @@
export const funGetAllDiscussionGeneral = async (path?: string) => {
const response = await fetch(`/api/discussion-general${(path) ? path : ''}`, { next: { tags: ['discussion-general'] } });
return await response.json().catch(() => null);
}