feat(WEB-36): improve typings

This commit is contained in:
Michael Zetterberg
2024-01-18 10:45:38 +01:00
parent 39b61c7691
commit 363580dac2
8 changed files with 35 additions and 18 deletions

View File

@@ -7,9 +7,9 @@ import Fi from "./Fi";
import No from "./No";
import Sv from "./Sv";
import type { LangProps } from "@/types/lang";
import type { LangParams } from "@/types/params";
export default function Footer({ lang }: LangProps) {
export default function Footer({ lang }: LangParams) {
switch (lang) {
case langEnum.da:
return <Da />;