Skip to content

Commit

Permalink
remove unnecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
Cloud11PL committed Jul 30, 2024
1 parent 717e789 commit 5565165
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ControlledSwitch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export const ControlledSwitch: React.FC<ControlledSwitchProps> = props => {
uncheckedLabel
)
) : typeof label === "string" ? (
<Text fontSize={4}>{label}</Text>
<Text>{label}</Text>
) : (
label
)}
Expand Down

0 comments on commit 5565165

Please sign in to comment.