Skip to content

Commit c50979c

Browse files
committed
add ts-ingore comments
1 parent fa50d58 commit c50979c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/styled-react/src/components/PageHeader.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ function StyledPageHeaderActions({sx, ...rest}: PageHeaderActionsProps) {
4242
// @ts-expect-error type mismatch between Box usage here and PrimerPageHeader.Actions
4343
return <Box {...rest} as={PrimerPageHeader.Actions} style={style} sx={sx} />
4444
}
45-
// @ts-ignore
45+
// @ts-ignore ignore `as` prop error
4646
const PageHeaderActions = ({as, ...props}: PageHeaderActionsProps) => (
4747
// @ts-ignore forwardedAs is valid here but I don't know how to fix the typescript error
4848
<StyledPageHeaderActions forwardedAs={as} {...props} />

0 commit comments

Comments
 (0)