From 4a9e6d9e35d54d3abec070ce24801d835f6a5818 Mon Sep 17 00:00:00 2001 From: Ayo Date: Fri, 29 Sep 2023 12:36:08 +0200 Subject: [PATCH] revert readonly links --- src/components/Nav.astro | 3 ++- src/constants/links.ts | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/components/Nav.astro b/src/components/Nav.astro index e0088f4..fb37c9c 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: readonly Link[]; + links: Link[]; } let { links } = Astro.props; @@ -16,6 +16,7 @@ if (Astro.url.pathname !== "/") { }, ].concat(links); } + ---