From b2f50728d26366c896f2b4317efa74521add2a26 Mon Sep 17 00:00:00 2001 From: Vellaiyan-Marimuthu Date: Tue, 14 May 2024 22:07:31 +0530 Subject: [PATCH] feat/url-filter: Page reload bug fixing --- components/page/events/hp-calendar.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/page/events/hp-calendar.tsx b/components/page/events/hp-calendar.tsx index 3ba44f7b..21faf13c 100644 --- a/components/page/events/hp-calendar.tsx +++ b/components/page/events/hp-calendar.tsx @@ -46,7 +46,7 @@ function HpCalendar(props: any) { const onEventClicked = (v: any) => { if (v) { - router.push( + router.replace( `${window.location.pathname}${window.location.search}#${v?.event?.extendedProps.slug}`, { scroll: false } );