Skip to content

Commit

Permalink
fix: Caret icon doesn't change state in Validator dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
going-confetti committed Dec 24, 2024
1 parent 7e6fd8a commit 7056ba4
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion src/components/Collapsible.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
`
Expand Down
1 change: 0 additions & 1 deletion src/components/WebLogView/WebLogView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion src/views/Recorder/Recorder.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,6 @@ export function Recorder() {
selectedRequestId={selectedRequest?.id}
autoScroll
groups={groups}
activeGroup={group?.id}
onSelectRequest={setSelectedRequest}
onUpdateGroup={handleUpdateGroup}
resetProxyData={handleResetRecording}
Expand Down
3 changes: 0 additions & 3 deletions src/views/Recorder/RequestsSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -29,7 +28,6 @@ export function RequestsSection({
noDataElement,
autoScroll = false,
groups,
activeGroup,
onSelectRequest,
onUpdateGroup,
resetProxyData,
Expand Down Expand Up @@ -90,7 +88,6 @@ export function RequestsSection({
<WebLogView
requests={filteredRequests}
groups={groups}
activeGroup={activeGroup}
selectedRequestId={selectedRequestId}
onSelectRequest={onSelectRequest}
onUpdateGroup={onUpdateGroup}
Expand Down

0 comments on commit 7056ba4

Please sign in to comment.