From 260484d5d0c78e0bbab54212ea1a0dc796999362 Mon Sep 17 00:00:00 2001 From: Fricoben Date: Mon, 24 Jul 2023 14:36:49 +0200 Subject: [PATCH 01/13] fix: delete affi --- components/domains/register.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/components/domains/register.tsx b/components/domains/register.tsx index 9aa9e6a3..24305118 100644 --- a/components/domains/register.tsx +++ b/components/domains/register.tsx @@ -141,7 +141,7 @@ const Register: FunctionComponent = ({ numberToString(duration * 365), 0, hexToDecimal(targetAddress), - sponsor, + // sponsor, ], }, { @@ -175,7 +175,7 @@ const Register: FunctionComponent = ({ numberToString(duration * 365), 0, hexToDecimal(targetAddress), - sponsor, + // sponsor, ], }, ]); @@ -209,7 +209,7 @@ const Register: FunctionComponent = ({ numberToString(duration * 365), 0, hexToDecimal(targetAddress), - sponsor, + // sponsor, ], }, { @@ -249,7 +249,7 @@ const Register: FunctionComponent = ({ numberToString(duration * 365), 0, hexToDecimal(targetAddress), - sponsor, + // sponsor, ], }, ]); @@ -263,7 +263,7 @@ const Register: FunctionComponent = ({ domain, hasMainDomain, address, - sponsor, + // sponsor, ]); useEffect(() => { From da30897ae04836ba54041e18b7c17470551cc2e3 Mon Sep 17 00:00:00 2001 From: Fricoben Date: Tue, 1 Aug 2023 11:08:41 +0200 Subject: [PATCH 02/13] fix: add sponsor --- components/domains/register.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/components/domains/register.tsx b/components/domains/register.tsx index 24305118..9aa9e6a3 100644 --- a/components/domains/register.tsx +++ b/components/domains/register.tsx @@ -141,7 +141,7 @@ const Register: FunctionComponent = ({ numberToString(duration * 365), 0, hexToDecimal(targetAddress), - // sponsor, + sponsor, ], }, { @@ -175,7 +175,7 @@ const Register: FunctionComponent = ({ numberToString(duration * 365), 0, hexToDecimal(targetAddress), - // sponsor, + sponsor, ], }, ]); @@ -209,7 +209,7 @@ const Register: FunctionComponent = ({ numberToString(duration * 365), 0, hexToDecimal(targetAddress), - // sponsor, + sponsor, ], }, { @@ -249,7 +249,7 @@ const Register: FunctionComponent = ({ numberToString(duration * 365), 0, hexToDecimal(targetAddress), - // sponsor, + sponsor, ], }, ]); @@ -263,7 +263,7 @@ const Register: FunctionComponent = ({ domain, hasMainDomain, address, - // sponsor, + sponsor, ]); useEffect(() => { From 3149e2cbcfcc5aa534b919920e06b5b85464fe26 Mon Sep 17 00:00:00 2001 From: Thomas Marchand Date: Wed, 20 Sep 2023 13:47:32 +0700 Subject: [PATCH 03/13] fix: identity name not displayed on id without domains --- components/identities/identityCard.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/identities/identityCard.tsx b/components/identities/identityCard.tsx index fa342ccb..7eabf974 100644 --- a/components/identities/identityCard.tsx +++ b/components/identities/identityCard.tsx @@ -27,7 +27,7 @@ const IdentityCard: FunctionComponent = ({ identity, isOwner, }) => { - const responsiveDomainOrId = identity + const responsiveDomainOrId = identity?.domain ? shortenDomain(identity.domain as string, 25) : `SID: ${tokenId}`; const [copied, setCopied] = useState(false); From 88a222944172de9b7df967c8bfc1d1021ba6d9c9 Mon Sep 17 00:00:00 2001 From: Iris Date: Wed, 20 Sep 2023 13:49:05 +0200 Subject: [PATCH 04/13] fix: text --- components/domains/selectState.tsx | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/components/domains/selectState.tsx b/components/domains/selectState.tsx index 4b50e75c..ce4d80cb 100644 --- a/components/domains/selectState.tsx +++ b/components/domains/selectState.tsx @@ -1,4 +1,4 @@ -import { ListItemText, MenuItem, Select, useMediaQuery } from "@mui/material"; +import { ListItemText, MenuItem, Select } from "@mui/material"; import React, { FunctionComponent } from "react"; import textFieldStyles from "../../styles/components/textField.module.css"; import allUsStates from "../../public/usa/allUsStates.json"; @@ -12,16 +12,10 @@ const SelectState: FunctionComponent = ({ usState, changeUsState, }) => { - const matches = useMediaQuery("(max-width: 1084px)"); - return (
-

- {matches - ? "Select an identity*" - : "Select an identity to link with your domain*"} -

+

Select your state*