Remove redundant values

This commit is contained in:
Justin Edmund 2023-01-28 03:56:22 -08:00
parent 4d1b3fbb71
commit b580b3ddaf

View file

@ -11,7 +11,7 @@ interface Props extends ComponentProps<'div'> {
}
const SelectItem = React.forwardRef<HTMLDivElement, Props>(function selectItem(
{ children, value, iconSrc, altText, ...props },
{ children, value, ...props },
forwardedRef
) {
const { altText, iconSrc, ...rest } = props