From 1ec972a8aad20605d28616b4f88781d6b7985021 Mon Sep 17 00:00:00 2001 From: Pauline Date: Tue, 26 Dec 2023 21:40:26 +0100 Subject: chore(lint): lint all files --- apps/website/src/components/icons/Icon.astro | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'apps/website/src/components/icons') diff --git a/apps/website/src/components/icons/Icon.astro b/apps/website/src/components/icons/Icon.astro index 858b605..b186a76 100644 --- a/apps/website/src/components/icons/Icon.astro +++ b/apps/website/src/components/icons/Icon.astro @@ -1,7 +1,6 @@ --- import type { HTMLAttributes } from 'astro/types'; import { parse } from 'node-html-parser'; -import Test from "./impl/book-open.svg"; type _ModIcons = | 'chatting' @@ -29,11 +28,11 @@ type _Icons = | 'link-external' | External | ModIcons; -export type Icons = _Icons; // bypass for Astro compiler issue https://github.com/withastro/compiler/issues/554#issuecomment-1741702411 +export type Icons = _Icons; // bypass for Astro compiler issue https://github.com/withastro/compiler/issues/554#issuecomment-1741702411 interface Props extends HTMLAttributes<'svg'> { - icon: Icons, - path?: string, + icon: Icons + path?: string size?: number | [number, number] } -- cgit