diff --git a/lib/components/util/status-badge.tsx b/lib/components/util/status-badge.tsx index 71de7930d..b6004d639 100644 --- a/lib/components/util/status-badge.tsx +++ b/lib/components/util/status-badge.tsx @@ -39,15 +39,13 @@ function getStatusLabel(status?: string) { } /** Renders a badge to convey status such as 'verified', 'pending'. */ -const StatusBadge = ({ status }: Props): JSX.Element => { - return ( - <> - {/* Surround badge with invisible parentheses for no-CSS and screen readers */} - ( - {getStatusLabel(status)} - ) - - ) -} +const StatusBadge = ({ status }: Props): JSX.Element => ( + <> + {/* Surround badge with invisible parentheses for no-CSS and screen readers */} + ( + {getStatusLabel(status)} + ) + +) export default StatusBadge