From 0ffa1123d26bba285c673cf54b56bde1bff394f9 Mon Sep 17 00:00:00 2001 From: acidumirae Date: Sun, 13 Aug 2023 10:56:42 +0800 Subject: [PATCH] Hide Apple button --- src/components/AuthPages/Login/index.jsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/AuthPages/Login/index.jsx b/src/components/AuthPages/Login/index.jsx index 9b54cb5..c0a09f2 100644 --- a/src/components/AuthPages/Login/index.jsx +++ b/src/components/AuthPages/Login/index.jsx @@ -342,6 +342,7 @@ export default function Login() { imgSrc={appleLogo} brand="Apple" isAnchor={true} + style={{visibility: 'hidden'}} />
@@ -446,7 +447,7 @@ export default function Login() { ); } -const BrandBtn = ({ link, imgSrc, brand, onClick, isAnchor = false }) => { +const BrandBtn = ({ link, imgSrc, brand, onClick, isAnchor = false, style = {visibility: 'visible' } }) => { // const doGoogle = async () => { // alert("start google"); // }; @@ -466,7 +467,7 @@ const BrandBtn = ({ link, imgSrc, brand, onClick, isAnchor = false }) => { // alert("start facebook"); // }; return ( -
+
{isAnchor ? (