Skip to content

Commit

Permalink
feat(connect-kit/wallets): remove Brave Wallet
Browse files Browse the repository at this point in the history
as it is already covered by `Browser Wallet`
  • Loading branch information
runjuu committed Sep 7, 2023
1 parent 3e49350 commit c1f58c1
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 76 deletions.
50 changes: 0 additions & 50 deletions packages/connect-kit/src/components/icons/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -315,56 +315,6 @@ export function MetamaskIcon(props: React.SVGAttributes<SVGSVGElement>) {
);
}

export const BraveIcon = (props: React.SVGAttributes<SVGSVGElement>) => (
<svg
{...props}
aria-hidden="true"
width="88"
height="88"
viewBox="0 0 88 88"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<rect rx="27%" width="88" height="88" fill="white"></rect>
<path
d="M69.0892 28.2123L70.5781 24.5643L66.3594 20.1967C64.0763 17.9136 59.2123 19.2537 59.2123 19.2537L53.7031 13H34.2721L28.7381 19.2785C28.7381 19.2785 23.8741 17.9632 21.591 20.1967L17.3722 24.5395L18.8612 28.1875L17 33.5974L23.204 57.2472C24.4945 62.3097 25.3631 64.2702 29.011 66.8511L40.352 74.5441C41.4439 75.2142 42.784 76.3805 44 76.3805C45.216 76.3805 46.5561 75.2142 47.648 74.5441L58.989 66.8511C62.6369 64.2702 63.5055 62.3097 64.796 57.2472L71 33.5974L69.0892 28.2123Z"
fill="url(#paint0_linear_2183_5890)"
/>
<path
d="M57.6737 23.2739C57.6737 23.2739 64.796 31.8851 64.796 33.6967C64.796 35.5579 63.9026 36.0294 63.0092 36.9972L57.6737 42.705C57.1774 43.2013 56.1103 44.045 56.7307 45.5092C57.3511 46.9982 58.2197 48.8346 57.227 50.7206C56.2344 52.6314 54.4972 53.8971 53.3805 53.6985C51.7195 53.1594 50.1348 52.4088 48.6654 51.4651C47.7224 50.8447 44.6949 48.3382 44.6949 47.3704C44.6949 46.4026 47.8217 44.6406 48.4173 44.2932C48.9881 43.8961 51.6434 42.3575 51.693 41.7619C51.7427 41.1664 51.7427 41.0175 50.9485 39.5285C50.1544 38.0395 48.7647 36.0542 48.9632 34.7638C49.2114 33.4733 51.4449 32.7785 53.1075 32.1581L58.2445 30.2224C58.6415 30.0239 58.5423 29.8502 57.3511 29.7261C56.1599 29.6268 52.8097 29.1801 51.296 29.602C49.7822 30.0239 47.2509 30.6691 47.0028 31.0165C46.8042 31.364 46.6057 31.364 46.829 32.5551L48.2684 40.3722C48.3677 41.3649 48.5662 42.0349 47.5239 42.2831C46.432 42.5313 44.6204 42.9531 44 42.9531C43.3796 42.9531 41.5432 42.5313 40.4761 42.2831C39.409 42.0349 39.6075 41.3649 39.7316 40.3722C39.8309 39.3796 40.9228 33.7215 41.1461 32.5551C41.3943 31.364 41.171 31.364 40.9724 31.0165C40.7243 30.6691 38.1682 30.0239 36.6544 29.602C35.1654 29.1801 31.7904 29.6268 30.5993 29.7509C29.4081 29.8502 29.3088 29.9991 29.7059 30.2472L34.8428 32.1581C36.4807 32.7785 38.7638 33.4733 38.9871 34.7638C39.2353 36.079 37.8208 38.0395 37.0018 39.5285C36.1829 41.0175 36.2077 41.1664 36.2574 41.7619C36.307 42.3575 38.9871 43.8961 39.5331 44.2932C40.1287 44.6654 43.2555 46.4026 43.2555 47.3704C43.2555 48.3382 40.3024 50.8447 39.3097 51.4651C37.8404 52.4088 36.2557 53.1594 34.5947 53.6985C33.4779 53.8971 31.7408 52.6314 30.7233 50.7206C29.7307 48.8346 30.6241 46.9982 31.2197 45.5092C31.8401 44.0202 30.7978 43.2261 30.2767 42.705L24.9412 36.9972C24.0726 36.079 23.1792 35.5827 23.1792 33.7463C23.1792 31.9099 30.3015 23.3235 30.3015 23.3235L37.0763 24.4154C37.8704 24.4154 39.6324 23.7454 41.2454 23.1746C42.8585 22.6783 43.9752 22.6287 43.9752 22.6287C43.9752 22.6287 45.0671 22.6287 46.705 23.1746C48.3428 23.7206 50.08 24.4154 50.8741 24.4154C51.693 24.4154 57.6985 23.2491 57.6985 23.2491L57.6737 23.2739ZM52.3382 56.2298C52.7849 56.4779 52.512 57.0239 52.0901 57.3217L45.7868 62.2353C45.2904 62.7316 44.4963 63.4761 43.9752 63.4761C43.454 63.4761 42.6847 62.7316 42.1636 62.2353C40.0743 60.5717 37.9648 58.9337 35.8355 57.3217C35.4384 57.0239 35.1654 56.5028 35.5873 56.2298L39.3097 54.2445C40.7894 53.4618 42.3551 52.8539 43.9752 52.4329C44.3474 52.4329 46.705 53.2767 48.6158 54.2445L52.3382 56.2298Z"
fill="white"
/>
<path
d="M59.262 19.2785L53.7032 13H34.2721L28.7381 19.2785C28.7381 19.2785 23.8741 17.9632 21.591 20.1967C21.591 20.1967 28.0432 19.6259 30.2767 23.2491L37.126 24.4154C37.9201 24.4154 39.682 23.7454 41.2951 23.1746C42.9081 22.6783 44.0249 22.6287 44.0249 22.6287C44.0249 22.6287 45.1168 22.6287 46.7546 23.1746C48.3925 23.7206 50.1296 24.4154 50.9238 24.4154C51.7427 24.4154 57.7482 23.2491 57.7482 23.2491C59.9817 19.6259 66.4339 20.1967 66.4339 20.1967C64.1508 17.9136 59.2868 19.2537 59.2868 19.2537"
fill="url(#paint1_linear_2183_5890)"
/>
<defs>
<linearGradient
id="paint0_linear_2183_5890"
x1="17"
y1="45.3241"
x2="71"
y2="45.3241"
gradientUnits="userSpaceOnUse"
>
<stop offset="0.4" stopColor="rgb(var(--color-255_85_0))" />
<stop offset="0.6" stopColor="rgb(var(--color-255_32_0))" />
</linearGradient>
<linearGradient
id="paint1_linear_2183_5890"
x1="22.4879"
y1="18.8219"
x2="66.4339"
y2="18.8219"
gradientUnits="userSpaceOnUse"
>
<stop stopColor="rgb(var(--color-255_69_42))" />
<stop offset="1" stopColor="rgb(var(--color-255_32_0))" />
</linearGradient>
</defs>
</svg>
);

export const OKXIcon = (props: React.SVGAttributes<SVGSVGElement>) => (
<svg
viewBox="0 0 2500 2500"
Expand Down
24 changes: 0 additions & 24 deletions packages/connect-kit/src/wallets/wallets/brave-wallet/index.tsx

This file was deleted.

2 changes: 0 additions & 2 deletions packages/connect-kit/src/wallets/wallets/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import type { WalletConnectConnector } from "wagmi/connectors/walletConnect";
import type { OKXConnector } from "../connectors";
import { metaMaskWallet } from "./meta-mask-wallet";
import { coinbaseWallet } from "./coinbase-wallet";
import { braveWallet } from "./brave-wallet";
import { okxWallet } from "./okx-wallet";
import { browserWallet } from "./browser-wallet";

Expand Down Expand Up @@ -43,7 +42,6 @@ export function useWalletConnectors() {
okxWallet(connectorMap.okx),
metaMaskWallet(connectorMap.metaMask, connectorMap.walletConnect),
coinbaseWallet(connectorMap.coinbaseWallet),
braveWallet(connectorMap.injected),
browserWallet(connectorMap.injected),
]),
[connectors],
Expand Down

1 comment on commit c1f58c1

@vercel
Copy link

@vercel vercel bot commented on c1f58c1 Sep 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

crossbell-universe – ./

crossbell-universe-git-main-crossbell.vercel.app
crossbell-dev.vercel.app
crossbell-universe-crossbell.vercel.app

Please sign in to comment.