diff --git a/src/components/Collapsible.tsx b/src/components/Collapsible.tsx index b6082a94..023721e7 100644 --- a/src/components/Collapsible.tsx +++ b/src/components/Collapsible.tsx @@ -37,7 +37,7 @@ const Header = styled.div` const CaretIcon = styled(CaretRightIcon)` transform: rotate(0deg); - [data-state='open'] & { + button[data-state='open'] & { transform: rotate(90deg); } ` diff --git a/src/components/WebLogView/WebLogView.tsx b/src/components/WebLogView/WebLogView.tsx index 3ba5b15b..71ccaccd 100644 --- a/src/components/WebLogView/WebLogView.tsx +++ b/src/components/WebLogView/WebLogView.tsx @@ -10,7 +10,6 @@ import { useDeepCompareEffect } from 'react-use' interface WebLogViewProps { requests: ProxyDataWithMatches[] groups?: GroupType[] - activeGroup?: string selectedRequestId?: string onSelectRequest: (data: ProxyDataWithMatches | null) => void onUpdateGroup?: (group: GroupType) => void diff --git a/src/views/Recorder/Recorder.tsx b/src/views/Recorder/Recorder.tsx index 85a2a043..ac951e3e 100644 --- a/src/views/Recorder/Recorder.tsx +++ b/src/views/Recorder/Recorder.tsx @@ -212,7 +212,6 @@ export function Recorder() { selectedRequestId={selectedRequest?.id} autoScroll groups={groups} - activeGroup={group?.id} onSelectRequest={setSelectedRequest} onUpdateGroup={handleUpdateGroup} resetProxyData={handleResetRecording} diff --git a/src/views/Recorder/RequestsSection.tsx b/src/views/Recorder/RequestsSection.tsx index 4fc2cd6f..33184d55 100644 --- a/src/views/Recorder/RequestsSection.tsx +++ b/src/views/Recorder/RequestsSection.tsx @@ -16,7 +16,6 @@ interface RequestsSectionProps { groups?: Group[] selectedRequestId?: string autoScroll?: boolean - activeGroup?: string noDataElement?: ReactNode onSelectRequest: (data: ProxyData | null) => void onUpdateGroup?: (group: Group) => void @@ -29,7 +28,6 @@ export function RequestsSection({ noDataElement, autoScroll = false, groups, - activeGroup, onSelectRequest, onUpdateGroup, resetProxyData, @@ -90,7 +88,6 @@ export function RequestsSection({