Skip to content

Commit 7056ba4

Browse files
fix: Caret icon doesn't change state in Validator dialog
1 parent 7e6fd8a commit 7056ba4

File tree

4 files changed

+1
-6
lines changed

4 files changed

+1
-6
lines changed

src/components/Collapsible.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const Header = styled.div`
3737
const CaretIcon = styled(CaretRightIcon)`
3838
transform: rotate(0deg);
3939
40-
[data-state='open'] & {
40+
button[data-state='open'] & {
4141
transform: rotate(90deg);
4242
}
4343
`

src/components/WebLogView/WebLogView.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import { useDeepCompareEffect } from 'react-use'
1010
interface WebLogViewProps {
1111
requests: ProxyDataWithMatches[]
1212
groups?: GroupType[]
13-
activeGroup?: string
1413
selectedRequestId?: string
1514
onSelectRequest: (data: ProxyDataWithMatches | null) => void
1615
onUpdateGroup?: (group: GroupType) => void

src/views/Recorder/Recorder.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,6 @@ export function Recorder() {
212212
selectedRequestId={selectedRequest?.id}
213213
autoScroll
214214
groups={groups}
215-
activeGroup={group?.id}
216215
onSelectRequest={setSelectedRequest}
217216
onUpdateGroup={handleUpdateGroup}
218217
resetProxyData={handleResetRecording}

src/views/Recorder/RequestsSection.tsx

-3
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ interface RequestsSectionProps {
1616
groups?: Group[]
1717
selectedRequestId?: string
1818
autoScroll?: boolean
19-
activeGroup?: string
2019
noDataElement?: ReactNode
2120
onSelectRequest: (data: ProxyData | null) => void
2221
onUpdateGroup?: (group: Group) => void
@@ -29,7 +28,6 @@ export function RequestsSection({
2928
noDataElement,
3029
autoScroll = false,
3130
groups,
32-
activeGroup,
3331
onSelectRequest,
3432
onUpdateGroup,
3533
resetProxyData,
@@ -90,7 +88,6 @@ export function RequestsSection({
9088
<WebLogView
9189
requests={filteredRequests}
9290
groups={groups}
93-
activeGroup={activeGroup}
9491
selectedRequestId={selectedRequestId}
9592
onSelectRequest={onSelectRequest}
9693
onUpdateGroup={onUpdateGroup}

0 commit comments

Comments
 (0)