π¨ The ultimate agentic social media scheduling tool π€
TypeScript nextjsopen-sourceopen-source-social-media-scheduling-toolosspostiz-cloudpostiz-hostedredisscheduling-toolsocial-media-scheduling-tooltypescript
feat: it will auto load the new filters
Nevo David048df4fb4426
diff --git a/apps/frontend/src/components/launches/calendar.context.tsx b/apps/frontend/src/components/launches/calendar.context.tsxindex 1d4990b73..81dde56c6 100644--- a/apps/frontend/src/components/launches/calendar.context.tsx+++ b/apps/frontend/src/components/launches/calendar.context.tsx@@ -109,8 +109,8 @@ export const CalendarWeekProvider: FC<{}, [filters]);const loadData = useCallback(- async (url: string) => {- const data = (await fetch(`/posts${url}?${params}`)).json();+ async () => {+ const data = (await fetch(`/posts?${params}`)).json();return data;},[filters, params]@@ -141,9 +141,6 @@ export const CalendarWeekProvider: FC<{: `month=${filters.currentMonth}`}&year=${filters.currentYear}`);- setTimeout(() => {- swr.mutate();- }, 10);},[filters, swr.mutate]);