Skip to content

Commit f1c75d0

Browse files
committed
put in override for footer ts
1 parent 8f08fe3 commit f1c75d0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/components/navigation/footer/Footer.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ const FooterList: FC<FooterListProps> = ({
1515

1616
if (singleColumn) {
1717
newChildren = Children.map(newChildren, (child) =>
18+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
1819
childIsOfComponentType(child, FooterListItem) ? cloneElement(child as any, { singleColumn }) : child,
1920
);
2021
}
@@ -74,6 +75,7 @@ const Footer: Footer = ({ className, children, visuallyHiddenText = 'Support lin
7475
} else {
7576
newChildren = Children.map(children, (child) =>
7677
childIsOfComponentType(child, FooterList)
78+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
7779
? cloneElement(child as any, { singleColumn: true })
7880
: child,
7981
);

0 commit comments

Comments
 (0)