feat: use readonly links
This commit is contained in:
parent
242b91ea4b
commit
72ffecc197
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@ import Icon from "astro-iconify";
|
||||||
import type { Link } from "../constants/links";
|
import type { Link } from "../constants/links";
|
||||||
|
|
||||||
export interface Props {
|
export interface Props {
|
||||||
links: Array<Link>;
|
links: readonly Link[];
|
||||||
}
|
}
|
||||||
|
|
||||||
let { links } = Astro.props;
|
let { links } = Astro.props;
|
||||||
|
|
Loading…
Reference in a new issue