Skip to content

Commit

Permalink
remove explicit children prop
Browse files Browse the repository at this point in the history
Co-authored-by: Igor Brasileiro <brasileiro456@gmail.com>
  • Loading branch information
Gabriel Antiqueira and igorbrasileiro committed Sep 16, 2021
1 parent a4355ee commit 2cc3c49
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/store-ui/src/atoms/Spinner/Spinner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ const Spinner = forwardRef<HTMLDivElement, SpinnerProps>(function Spinner(
ref
) {
return (
<span ref={ref} data-store-spinner data-testid={testId} {...props}>
{children}
</span>
<span ref={ref} data-store-spinner data-testid={testId} {...props} />
)
})

Expand Down

0 comments on commit 2cc3c49

Please sign in to comment.