feat(WEB-36): improve typings
This commit is contained in:
@@ -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 />;
|
||||
|
||||
Reference in New Issue
Block a user