diff --git a/src/komponenter/footer/common/Lenker.tsx b/src/komponenter/footer/common/Lenker.tsx index 822002838..04c0597ec 100644 --- a/src/komponenter/footer/common/Lenker.tsx +++ b/src/komponenter/footer/common/Lenker.tsx @@ -23,7 +23,6 @@ const getLang = (url: string) => { type ListElementProps = { wrap: boolean; - key?: React.Key; children: JSX.Element; }; type ListWrapperProps = { @@ -39,9 +38,9 @@ const ListWrapper = ({ className, wrap, elements }: ListWrapperProps): JSX.Eleme return <>{elements}>; }; -const ListElement = ({ wrap, key, children }: ListElementProps) => { +const ListElement = ({ wrap, children }: ListElementProps) => { if (wrap) { - return