feat(SW-185): Refactor mocked data

This commit is contained in:
Pontus Dreij
2024-08-22 16:08:11 +02:00
parent e83740d3ea
commit 1ac330ea04
2 changed files with 3 additions and 3 deletions

View File

@@ -5,7 +5,7 @@ import Body from "@/components/TempDesignSystem/Text/Body"
import styles from "./secondarynav.module.css"
import {
AppDownnLoadLinks,
AppDownLoadLinks,
FooterSecondaryNavProps,
} from "@/types/components/footer/navigation"
@@ -25,7 +25,7 @@ export default function FooterSecondaryNav({
<a href={link.href} target="_blank" rel="noopener noreferrer">
<Image
src={
AppDownnLoadLinks[link.id as keyof typeof AppDownnLoadLinks]
AppDownLoadLinks[link.id as keyof typeof AppDownLoadLinks]
}
alt={link.title}
width={125}

View File

@@ -31,7 +31,7 @@ export type FooterSecondaryNavProps = {
}
}
export enum AppDownnLoadLinks {
export enum AppDownLoadLinks {
apple = "/_static/img/app-store-badge.svg",
google = "/_static/img/google-play-badge.svg",
}