From 72ffecc197d547c1707decf4bd8baac4cf7454ec Mon Sep 17 00:00:00 2001 From: Ayo Date: Fri, 29 Sep 2023 12:34:44 +0200 Subject: [PATCH] feat: use readonly links --- src/components/Nav.astro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Nav.astro b/src/components/Nav.astro index 48bb560..e0088f4 100644 --- a/src/components/Nav.astro +++ b/src/components/Nav.astro @@ -3,7 +3,7 @@ import Icon from "astro-iconify"; import type { Link } from "../constants/links"; export interface Props { - links: Array; + links: readonly Link[]; } let { links } = Astro.props;