fix :home

Deskripsi:
- home pake api

No Issues
This commit is contained in:
amel
2024-12-05 15:12:18 +08:00
parent ac3c1569d0
commit 2fa96d47ba
13 changed files with 667 additions and 10 deletions

View File

@@ -0,0 +1,4 @@
export const apiGetDataHome = async (path?: string) => {
const response = await fetch(`/api/new/home${(path) ? path : ''}`)
return await response.json().catch(() => null)
}