Skip to content

Commit 7718e02

Browse files
committed
SkipLink: update type to interface
1 parent 4bd9443 commit 7718e02

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

client/components/SkipLink.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ import React, { useState } from 'react';
22
import classNames from 'classnames';
33
import { useTranslation } from 'react-i18next';
44

5-
type SkipLinkProps = {
5+
interface SkipLinkProps {
66
targetId: string;
77
text: string;
8-
};
8+
}
99

1010
const SkipLink = ({ targetId, text }: SkipLinkProps) => {
1111
const [focus, setFocus] = useState(false);

0 commit comments

Comments
 (0)