diff --git a/frontend/src/scenes/session-recordings/SessionRecordings.tsx b/frontend/src/scenes/session-recordings/SessionRecordings.tsx index 78694a5144cc5..b82171522363b 100644 --- a/frontend/src/scenes/session-recordings/SessionRecordings.tsx +++ b/frontend/src/scenes/session-recordings/SessionRecordings.tsx @@ -25,13 +25,13 @@ import { createPlaylist } from './playlist/playlistUtils' import { SessionRecordingsPlaylist } from './playlist/SessionRecordingsPlaylist' import { SavedSessionRecordingPlaylists } from './saved-playlists/SavedSessionRecordingPlaylists' import { savedSessionRecordingPlaylistsLogic } from './saved-playlists/savedSessionRecordingPlaylistsLogic' -import { humanFriendlyTabName, sessionRecordingsLogic } from './sessionRecordingsLogic' +import { humanFriendlyTabName, sessionReplaySceneLogic } from './sessionReplaySceneLogic' function Header(): JSX.Element { const { guardAvailableFeature } = useValues(upgradeModalLogic) const playlistsLogic = savedSessionRecordingPlaylistsLogic({ tab: ReplayTabs.Recent }) const { playlists } = useValues(playlistsLogic) - const { tab } = useValues(sessionRecordingsLogic) + const { tab } = useValues(sessionReplaySceneLogic) const { currentTeam } = useValues(teamLogic) const recordingsDisabled = currentTeam && !currentTeam?.session_recording_opt_in const { reportRecordingPlaylistCreated } = useActions(eventUsageLogic) @@ -176,7 +176,7 @@ function Warnings(): JSX.Element { } function MainPanel(): JSX.Element { - const { tab } = useValues(sessionRecordingsLogic) + const { tab } = useValues(sessionReplaySceneLogic) return (
@@ -198,7 +198,7 @@ function MainPanel(): JSX.Element { } function PageTabs(): JSX.Element { - const { tab, tabs } = useValues(sessionRecordingsLogic) + const { tab, tabs } = useValues(sessionReplaySceneLogic) return ( { switch (tab) { @@ -24,8 +24,8 @@ export const humanFriendlyTabName = (tab: ReplayTabs): string => { export const PLAYLIST_LIMIT_REACHED_MESSAGE = `You have reached the free limit of ${SESSION_RECORDINGS_PLAYLIST_FREE_COUNT} saved playlists` -export const sessionRecordingsLogic = kea([ - path(() => ['scenes', 'session-recordings', 'root']), +export const sessionReplaySceneLogic = kea([ + path(() => ['scenes', 'session-recordings', 'sessionReplaySceneLogic']), connect({ values: [featureFlagLogic, ['featureFlags']], }),