diff --git a/src/GoogleAuth/GoogleAuth.tsx b/src/GoogleAuth/GoogleAuth.tsx index 083f13a963..5ec62e9c35 100644 --- a/src/GoogleAuth/GoogleAuth.tsx +++ b/src/GoogleAuth/GoogleAuth.tsx @@ -1,7 +1,7 @@ import { IconButton } from "@chakra-ui/react"; -import { FcGoogle } from "react-icons/fc"; import { getGoogleCredentials } from "./getGoogleCredentials"; +import { GoogleIcon } from "../assets/icons"; import colors from "../style/colors"; import { useAsyncActionHandler } from "../utils/hooks/useAsyncActionHandler"; @@ -37,7 +37,7 @@ export const GoogleAuth: React.FC<{ onAuth: (secretKey: string, email: string) = _disabled={{ bg: colors.gray[900] }} aria-label="Google SSO" data-testid="google-auth-button" - icon={} + icon={} isLoading={isLoading} onClick={onClick} size="lg" diff --git a/src/assets/icons/Google.tsx b/src/assets/icons/Google.tsx new file mode 100644 index 0000000000..fbc2bf4fec --- /dev/null +++ b/src/assets/icons/Google.tsx @@ -0,0 +1,29 @@ +import { Icon, IconProps } from "@chakra-ui/react"; + +export const GoogleIcon: React.FC = props => ( + + + + + + +); diff --git a/src/assets/icons/Ledger.tsx b/src/assets/icons/Ledger.tsx index f855d143bf..c0348e5335 100644 --- a/src/assets/icons/Ledger.tsx +++ b/src/assets/icons/Ledger.tsx @@ -1,14 +1,18 @@ import { Icon, IconProps } from "@chakra-ui/react"; -import { MdUsb } from "react-icons/md"; + +import colors from "../../style/colors"; export const LedgerIcon: React.FC = props => ( + > + + ); diff --git a/src/assets/icons/index.tsx b/src/assets/icons/index.tsx index 4437949b44..7201cd64a5 100644 --- a/src/assets/icons/index.tsx +++ b/src/assets/icons/index.tsx @@ -31,6 +31,7 @@ export * from "./FileArrowDown"; export * from "./FileCopy"; export * from "./FlipForwardEnergy"; export * from "./Gear"; +export * from "./Google"; export * from "./Help"; export * from "./Hourglass"; export * from "./IncomingArrow"; diff --git a/src/components/AddressTile/AddressTileIcon.tsx b/src/components/AddressTile/AddressTileIcon.tsx index 3e13e546c9..d43ddd9ca0 100644 --- a/src/components/AddressTile/AddressTileIcon.tsx +++ b/src/components/AddressTile/AddressTileIcon.tsx @@ -61,14 +61,7 @@ export const AddressTileIcon: React.FC<{ /> ); case "ledger": - return ( - - ); + return ; case "multisig": return ; case "contact":