Skip to content

Commit

Permalink
test: removed extra data-test id for toggle
Browse files Browse the repository at this point in the history
  • Loading branch information
usman-deriv committed Aug 2, 2024
1 parent c35ce4d commit 2955227
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/components/AdvertiserName/AdvertiserNameToggle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,7 @@ const AdvertiserNameToggle = memo(({ advertiserInfo, onToggle }: TAdvertiserName
</Text>
</div>
<div data-testid='dt_advertiser_name_toggle_switch'>
<ToggleSwitch
data-testid='dt_advertiser_name_toggle_switch'
onChange={onToggleShowRealName}
value={shouldShowRealName}
/>
<ToggleSwitch onChange={onToggleShowRealName} value={shouldShowRealName} />
</div>
</div>
);
Expand Down

0 comments on commit 2955227

Please sign in to comment.