From ad4c057e98b99a0672a88d96de467d73fad483d4 Mon Sep 17 00:00:00 2001 From: pavanjoshi914 Date: Fri, 3 May 2024 11:08:41 +0530 Subject: [PATCH] feat: update popicons --- package.json | 2 +- src/app/components/AccountMenu/index.tsx | 2 +- src/app/icons/popicons/BitcoinCircleLine.tsx | 27 -------------------- src/app/icons/popicons/GlobeLine.tsx | 21 --------------- yarn.lock | 8 +++--- 5 files changed, 6 insertions(+), 54 deletions(-) delete mode 100644 src/app/icons/popicons/BitcoinCircleLine.tsx delete mode 100644 src/app/icons/popicons/GlobeLine.tsx diff --git a/package.json b/package.json index cbd2e11cf4..bff0c33ec4 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ "@noble/curves": "^1.4.0", "@noble/hashes": "^1.4.0", "@noble/secp256k1": "^2.0.0", - "@popicons/react": "^0.0.9", + "@popicons/react": "^0.0.11", "@scure/base": "^1.1.6", "@scure/bip32": "^1.3.3", "@scure/bip39": "^1.2.2", diff --git a/src/app/components/AccountMenu/index.tsx b/src/app/components/AccountMenu/index.tsx index 48c2eba1d2..54af0fcfc1 100644 --- a/src/app/components/AccountMenu/index.tsx +++ b/src/app/components/AccountMenu/index.tsx @@ -1,6 +1,7 @@ import { PopiconsChevronBottomLine, PopiconsCirclePlusLine, + PopiconsGlobeLine, PopiconsWalletLine, } from "@popicons/react"; import { useEffect } from "react"; @@ -14,7 +15,6 @@ import { useAccounts } from "~/app/context/AccountsContext"; import { isAlbyLNDHubAccount, isAlbyOAuthAccount } from "~/app/utils"; import utils from "~/common/lib/utils"; -import PopiconsGlobeLine from "~/app/icons/popicons/GlobeLine"; import Menu from "../Menu"; export type Props = { diff --git a/src/app/icons/popicons/BitcoinCircleLine.tsx b/src/app/icons/popicons/BitcoinCircleLine.tsx deleted file mode 100644 index e7f9bcddb5..0000000000 --- a/src/app/icons/popicons/BitcoinCircleLine.tsx +++ /dev/null @@ -1,27 +0,0 @@ -import { SVGProps } from "react"; - -const PopiconsBitcoinCircleLine = (props: SVGProps) => ( - - - - -); - -export default PopiconsBitcoinCircleLine; diff --git a/src/app/icons/popicons/GlobeLine.tsx b/src/app/icons/popicons/GlobeLine.tsx deleted file mode 100644 index 8209757e77..0000000000 --- a/src/app/icons/popicons/GlobeLine.tsx +++ /dev/null @@ -1,21 +0,0 @@ -import { SVGProps } from "react"; - -const PopiconsGlobeLine = (props: SVGProps) => ( - - - -); - -export default PopiconsGlobeLine; diff --git a/yarn.lock b/yarn.lock index 3744d2413c..ed64d8c1c2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1159,10 +1159,10 @@ resolved "https://registry.npmjs.org/@polka/url/-/url-1.0.0-next.21.tgz" integrity sha512-a5Sab1C4/icpTZVzZc5Ghpz88yQtGOyNqYXcZgOssB2uuAr+wF/MvN6bgtW32q7HHrvBki+BsZ0OuNv6EV3K9g== -"@popicons/react@^0.0.9": - version "0.0.9" - resolved "https://registry.yarnpkg.com/@popicons/react/-/react-0.0.9.tgz#4dd1e83dcb8a121258f0a074f5f4ce6954718efb" - integrity sha512-uS3/R4JriCX96CmULktVG0KLoOfapWbKXc+R8Z07G8FWY2O+YrMTufc/sgTCnH+y3SFScI5FV3peX0FWKGLzKQ== +"@popicons/react@^0.0.11": + version "0.0.11" + resolved "https://registry.yarnpkg.com/@popicons/react/-/react-0.0.11.tgz#33b9c13c6a362c72d0cd07481b129da4ca9798cd" + integrity sha512-7KZGIe8A5J25FjT4t5d4tZgQIZrGwuZkYUjQpz3fX+frQNPseVOCrbW0SXaeuke/bt66/o+VPlxO9RkaWUZ/4g== "@puppeteer/browsers@1.8.0": version "1.8.0"