Skip to content

Commit

Permalink
Prevent adding custom props to HTML attrs
Browse files Browse the repository at this point in the history
  • Loading branch information
buberdds committed Mar 14, 2024
1 parent c68c6a2 commit 2a7f2cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/ContractVerificationIcon/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const statusIcon: Record<VerificationStatus, ReactNode> = {
export const verificationIconBoxHeight = 28

const StyledPill = styled(Box, {
shouldForwardProp: prop => prop !== 'verified',
shouldForwardProp: prop => prop !== 'verified' && prop !== 'address_eth',
})(({ verified }: { verified: boolean; address_eth: string }) => {
const status: VerificationStatus = verified ? 'verified' : 'unverified'
return {
Expand Down

0 comments on commit 2a7f2cf

Please sign in to comment.