From efd5c517f8dd6f934eeb887881a9ed1b77710d87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?calvadev=E2=9A=A1=EF=B8=8F?= <32919103+calvadev@users.noreply.github.com> Date: Mon, 13 Jan 2025 04:17:29 +0000 Subject: [PATCH] Changed sign-in grammar --- components/sign-in/SignInModal.tsx | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/components/sign-in/SignInModal.tsx b/components/sign-in/SignInModal.tsx index f53a931..65e2f0b 100644 --- a/components/sign-in/SignInModal.tsx +++ b/components/sign-in/SignInModal.tsx @@ -85,7 +85,7 @@ export default function SignInModal({ } onClose(); } catch (error) { - setFailureText("Extension sign in failed!"); + setFailureText("Extension sign-in failed!"); setShowFailureModal(true); } }; @@ -196,11 +196,11 @@ export default function SignInModal({ } onClose(); } else { - throw new Error("Bunker sign in failed!"); + throw new Error("Bunker sign-in failed!"); } } } catch (error) { - setFailureText("Bunker sign in failed!"); + setFailureText("Bunker sign-in failed!"); setShowFailureModal(true); } }; @@ -278,13 +278,12 @@ export default function SignInModal({ setTimeout(() => { clearInterval(intervalId); - console.log("Amber sign in timeout"); - setFailureText("Amber sign in timed out. Please try again."); + setFailureText("Amber sign-in timed out. Please try again."); setShowFailureModal(true); }, 60000); } catch (error) { - console.error("Amber sign in failed:", error); - setFailureText("Amber sign in failed!"); + console.error("Amber sign-in failed:", error); + setFailureText("Amber sign-in failed!"); setShowFailureModal(true); } }; @@ -417,7 +416,7 @@ export default function SignInModal({ className={`${SHOPSTRBUTTONCLASSNAMES} w-full`} onClick={startExtensionLogin} > - Extension Sign In + Extension Sign-in
------ or ------
@@ -428,7 +427,7 @@ export default function SignInModal({ showBunkerSignIn ? "hidden" : "" }`} > - Bunker Sign In + Bunker Sign-in
- Bunker Sign In + Bunker Sign-in
@@ -465,7 +464,7 @@ export default function SignInModal({ className={`${SHOPSTRBUTTONCLASSNAMES} w-full`} onClick={startAmberLogin} > - Amber Sign In + Amber Sign-in
------ or ------
@@ -479,7 +478,7 @@ export default function SignInModal({ showNsecSignIn ? "hidden" : "" }`} > - nsec Sign In + nsec Sign-in
- nsec Sign In + nsec Sign-in