feat: fix fetch

This commit is contained in:
Nevo David 2024-09-09 12:01:14 +07:00
parent 19b838a84b
commit 9974e71859
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ export const CalendarWeekProvider: FC<{
const loadData = useCallback(
async (url: string) => {
const data = (await fetch(`${url}?${params}`)).json();
const data = (await fetch(`/posts${url}?${params}`)).json();
return data;
},
[filters, params]