diff --git a/frontend/src/scenes/session-recordings/player/modal/sessionPlayerModalLogic.ts b/frontend/src/scenes/session-recordings/player/modal/sessionPlayerModalLogic.ts index 6b70ccbd939d3..09bf3758b10fd 100644 --- a/frontend/src/scenes/session-recordings/player/modal/sessionPlayerModalLogic.ts +++ b/frontend/src/scenes/session-recordings/player/modal/sessionPlayerModalLogic.ts @@ -42,9 +42,7 @@ export const sessionPlayerModalLogic = kea([ ], }), actionToUrl(({ values }) => { - const buildURL = ( - replace: boolean - ): [ + const buildURL = (): [ string, Record, Record, @@ -71,12 +69,12 @@ export const sessionPlayerModalLogic = kea([ searchParams.timestamp = values.initialTimestamp } - return [router.values.location.pathname, searchParams, hashParams, { replace }] + return [router.values.location.pathname, searchParams, hashParams, { replace: true }] } return { - openSessionPlayer: () => buildURL(false), - closeSessionPlayer: () => buildURL(false), + openSessionPlayer: () => buildURL(), + closeSessionPlayer: () => buildURL(), } }), urlToAction(({ actions, values }) => {