Skip to content

πŸ“¨ The ultimate agentic social media scheduling tool πŸ€–

feat: posts

Nevo Davidc6d68c8fffb1
diff --git a/apps/frontend/src/components/launches/calendar.context.tsx b/apps/frontend/src/components/launches/calendar.context.tsx
index 376440281..162749527 100644
--- a/apps/frontend/src/components/launches/calendar.context.tsx
+++ b/apps/frontend/src/components/launches/calendar.context.tsx
@@ -113,7 +113,9 @@ export const CalendarWeekProvider: FC<{
display: 'week' | 'month';
}) => {
setFilters(filters);
- router.replace(
+ window.history.replaceState(
+ null,
+ '',
`/launches?${
filters.currentWeek
? `week=${filters.currentWeek}`
@@ -122,7 +124,7 @@ export const CalendarWeekProvider: FC<{
);
setTimeout(() => {
mutate('/posts');
- });
+ }, 10);
},
[filters]
);