feat: calendar context
This commit is contained in:
parent
e165122a55
commit
b828035019
|
|
@ -142,7 +142,7 @@ export const CalendarWeekProvider: FC<{
|
|||
const data = (await fetch(`${url}?${params}`)).json();
|
||||
return data;
|
||||
},
|
||||
[filters]
|
||||
[filters, params]
|
||||
);
|
||||
|
||||
const swr = useSWR(`/posts`, loadData, {
|
||||
|
|
|
|||
Loading…
Reference in New Issue