diff --git a/src/app/components/LanguagesBox.tsx b/src/app/components/LanguagesBox.tsx index ddd5a5a..3cb006e 100644 --- a/src/app/components/LanguagesBox.tsx +++ b/src/app/components/LanguagesBox.tsx @@ -1,8 +1,8 @@ -import { LanguageSkill } from "../data/types"; -import { Badge } from "../components"; +import { Languages } from "../data/types"; +import { Badge } from "../components"; type Props = { - languages: Array; + languages: Languages; }; export function LanguagesBox({ languages }: Props) { @@ -15,7 +15,7 @@ export function LanguagesBox({ languages }: Props) { .filter(({ level }) => level.startsWith("c")) .map(({ language, level }) => (
  • - + {language}
  • ))} @@ -25,7 +25,7 @@ export function LanguagesBox({ languages }: Props) { .filter(({ level }) => !level.startsWith("c")) .map(({ language, level }) => (
  • - + {language}
  • ))}