From ca5e51af7af9ac20fed226b3889e3d8d12daaf61 Mon Sep 17 00:00:00 2001 From: Kalidou Diagne Date: Fri, 14 Mar 2025 13:29:48 +0000 Subject: [PATCH] fix: telegram icon issue and remove react-icons --- components/icons.tsx | 14 ++++++++++++++ components/project/project-links.tsx | 6 ++---- package.json | 1 - yarn.lock | 5 ----- 4 files changed, 16 insertions(+), 10 deletions(-) diff --git a/components/icons.tsx b/components/icons.tsx index 8dc3ef0..bbd1eec 100644 --- a/components/icons.tsx +++ b/components/icons.tsx @@ -57,6 +57,20 @@ export const Icons = { /> ), + telegram: (props: LucideProps) => ( + + + + ), twitter: (props: LucideProps) => ( = { github: ( @@ -17,7 +15,7 @@ export const ProjectLinkIconMap: Record = { ), telegram: ( - + ), discord: ( diff --git a/package.json b/package.json index fc9beec..483c8ca 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,6 @@ "react-cookie": "^7.0.1", "react-dom": "^18.2.0", "react-i18next": "^14.0.0", - "react-icons": "^5.3.0", "react-markdown": "^8.0.7", "react-slick": "^0.30.3", "react-use": "^17.4.0", diff --git a/yarn.lock b/yarn.lock index d7151e1..1a5000e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4258,11 +4258,6 @@ react-i18next@^14.0.0: "@babel/runtime" "^7.23.9" html-parse-stringify "^3.0.1" -react-icons@^5.3.0: - version "5.4.0" - resolved "https://registry.yarnpkg.com/react-icons/-/react-icons-5.4.0.tgz#443000f6e5123ee1b21ea8c0a716f6e7797f7416" - integrity sha512-7eltJxgVt7X64oHh6wSWNwwbKTCtMfK35hcjvJS0yxEAhPM8oUKdS3+kqaW1vicIltw+kR2unHaa12S9pPALoQ== - react-is@^16.13.1, react-is@^16.7.0: version "16.13.1" resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.13.1.tgz#789729a4dc36de2999dc156dd6c1d9c18cea56a4"