Skip to content

Commit

Permalink
Remove unnecessary type declaration from Badge component
Browse files Browse the repository at this point in the history
  • Loading branch information
victorhmp committed Aug 24, 2021
1 parent 32185f3 commit 4a2923e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/store-ui/src/atoms/Badge/Badge.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export interface BadgeProps {

const Badge = forwardRef<HTMLDivElement, BadgeProps>(function Badge(
{ testId = 'store-badge', children }: BadgeProps,
ref: ForwardedRef<HTMLDivElement>
ref
) {
return (
<div ref={ref} data-testid={testId} data-store-badge>
Expand Down

0 comments on commit 4a2923e

Please sign in to comment.