diff --git a/apps/profile/app/helpers/profile.ts b/apps/profile/app/helpers/profile.ts
index f0fbea02dd..d8c3d10893 100644
--- a/apps/profile/app/helpers/profile.ts
+++ b/apps/profile/app/helpers/profile.ts
@@ -86,9 +86,16 @@ export const getAccountCryptoAddresses = async ({
// TODO: need to type qc and rc
const cryptoAddresses =
addresses
- .filter((e) => [NodeType.Crypto, NodeType.Vault].includes(e.rc.node_type))
- .map((address) => address.qc.alias.toLowerCase() as string) ||
- ([] as string[])
+ .filter((e) => {
+ return [NodeType.Crypto, NodeType.Vault].includes(e.rc.node_type) &&
+ e.rc.addr_type === CryptoAddressType.ETH
+ })
+ .map((address) => {
+ return address.qc.alias.toLowerCase() as string
+ })
+ || ([] as string[])
+
+
return cryptoAddresses
}
diff --git a/apps/profile/app/validation.ts b/apps/profile/app/validation.ts
index ebab2d837f..4b57f1b33f 100644
--- a/apps/profile/app/validation.ts
+++ b/apps/profile/app/validation.ts
@@ -54,7 +54,7 @@ export const NFTDetailSchema = z.object({
export const NFTPropertySchema = z.object({
display: z.string(),
name: z.string(),
- value: z.string(),
+ value: z.string().or(z.number()),
})
export const NFTSchema = z.object({
diff --git a/packages/design-system/src/molecules/modal/Modal.tsx b/packages/design-system/src/molecules/modal/Modal.tsx
index 3441774cb1..c93b949517 100644
--- a/packages/design-system/src/molecules/modal/Modal.tsx
+++ b/packages/design-system/src/molecules/modal/Modal.tsx
@@ -56,7 +56,7 @@ export const Modal = ({
Date: Thu, 1 Jun 2023 12:55:36 -0400
Subject: [PATCH 3/4] optional closable
---
.../src/molecules/modal/Modal.tsx | 19 ++++++++++---------
1 file changed, 10 insertions(+), 9 deletions(-)
diff --git a/packages/design-system/src/molecules/modal/Modal.tsx b/packages/design-system/src/molecules/modal/Modal.tsx
index c93b949517..2a985ed104 100644
--- a/packages/design-system/src/molecules/modal/Modal.tsx
+++ b/packages/design-system/src/molecules/modal/Modal.tsx
@@ -64,16 +64,17 @@ export const Modal = ({
}`}
>
-
{
- if (handleClose && closable) handleClose(false)
- }}
- >
-
-
+ onClick={() => {
+ if (handleClose) handleClose(false)
+ }}
+ >
+
+
+ }
{children}
From a4a82389f21d140be355f2540f3bf6f004eec98f Mon Sep 17 00:00:00 2001
From: emil <33105890+poolsar42@users.noreply.github.com>
Date: Fri, 2 Jun 2023 22:47:23 -0400
Subject: [PATCH 4/4] wip
---
apps/console/app/components/DeleteAppModal/DeleteAppModal.tsx | 2 +-
.../app/components/RotateCredsModal/RotateCredsModal.tsx | 2 +-
apps/console/app/routes/apps/$clientId/domain-wip.tsx | 2 +-
apps/passport/app/components/applications/claims.tsx | 2 +-
.../app/components/settings/accounts/DisconnectModal.tsx | 2 +-
apps/passport/app/routes/settings/accounts/index.tsx | 2 +-
apps/passport/app/routes/settings/advanced.tsx | 2 +-
apps/profile/app/components/accounts/PfpNftModal.tsx | 2 +-
apps/profile/app/components/nfts/modal/index.tsx | 2 +-
9 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/apps/console/app/components/DeleteAppModal/DeleteAppModal.tsx b/apps/console/app/components/DeleteAppModal/DeleteAppModal.tsx
index cd9a6ea101..cdef1ba2ab 100644
--- a/apps/console/app/components/DeleteAppModal/DeleteAppModal.tsx
+++ b/apps/console/app/components/DeleteAppModal/DeleteAppModal.tsx
@@ -30,7 +30,7 @@ export const DeleteAppModal = ({
handleClose={() => deleteAppCallback(false)}
>
diff --git a/apps/console/app/components/RotateCredsModal/RotateCredsModal.tsx b/apps/console/app/components/RotateCredsModal/RotateCredsModal.tsx
index 62ce42b433..c3481273e8 100644
--- a/apps/console/app/components/RotateCredsModal/RotateCredsModal.tsx
+++ b/apps/console/app/components/RotateCredsModal/RotateCredsModal.tsx
@@ -20,7 +20,7 @@ export const RotateCredsModal = ({
return (
closeCallback()}>
diff --git a/apps/console/app/routes/apps/$clientId/domain-wip.tsx b/apps/console/app/routes/apps/$clientId/domain-wip.tsx
index 586c7ce317..27b79bf3c1 100644
--- a/apps/console/app/routes/apps/$clientId/domain-wip.tsx
+++ b/apps/console/app/routes/apps/$clientId/domain-wip.tsx
@@ -398,7 +398,7 @@ const DeleteModal = ({
diff --git a/apps/passport/app/components/applications/claims.tsx b/apps/passport/app/components/applications/claims.tsx
index 888fb8ff4a..84fefae505 100644
--- a/apps/passport/app/components/applications/claims.tsx
+++ b/apps/passport/app/components/applications/claims.tsx
@@ -33,7 +33,7 @@ export const ConfirmRevocationModal = ({
setIsOpen(false)}>
diff --git a/apps/passport/app/components/settings/accounts/DisconnectModal.tsx b/apps/passport/app/components/settings/accounts/DisconnectModal.tsx
index 574efe95ab..5c05508d9f 100644
--- a/apps/passport/app/components/settings/accounts/DisconnectModal.tsx
+++ b/apps/passport/app/components/settings/accounts/DisconnectModal.tsx
@@ -65,7 +65,7 @@ export default ({
) : (
setIsOpen(false)}>
diff --git a/apps/passport/app/routes/settings/accounts/index.tsx b/apps/passport/app/routes/settings/accounts/index.tsx
index 70ce7a70c8..3620bcc54b 100644
--- a/apps/passport/app/routes/settings/accounts/index.tsx
+++ b/apps/passport/app/routes/settings/accounts/index.tsx
@@ -120,7 +120,7 @@ const RenameModal = ({
}) => (
setIsOpen(false)}>
diff --git a/apps/passport/app/routes/settings/advanced.tsx b/apps/passport/app/routes/settings/advanced.tsx
index 801147edbb..afeec9d518 100644
--- a/apps/passport/app/routes/settings/advanced.tsx
+++ b/apps/passport/app/routes/settings/advanced.tsx
@@ -129,7 +129,7 @@ const DeleteRollupIdentityModal = ({
setIsOpen(false)}>
diff --git a/apps/profile/app/components/accounts/PfpNftModal.tsx b/apps/profile/app/components/accounts/PfpNftModal.tsx
index 06b6335a3c..2c45321497 100644
--- a/apps/profile/app/components/accounts/PfpNftModal.tsx
+++ b/apps/profile/app/components/accounts/PfpNftModal.tsx
@@ -37,7 +37,7 @@ const PfpNftModal = ({
return (
diff --git a/apps/profile/app/components/nfts/modal/index.tsx b/apps/profile/app/components/nfts/modal/index.tsx
index d9e7ee877a..abdb807acb 100644
--- a/apps/profile/app/components/nfts/modal/index.tsx
+++ b/apps/profile/app/components/nfts/modal/index.tsx
@@ -41,7 +41,7 @@ const NftModal = ({
scrollbarColor: '#D1D5DB white',
}}
className={`flex-1 relative h-max w-full sm:min-w-[37rem] sm:max-h-[35rem] sm:max-w-[58rem] h-[86vh] sm:w-[62vw]
- transform bg-white rounded-lg px-4 pb-4
+ bg-white rounded-lg px-4 pb-4
text-left transition-all sm:px-6 sm:pb-6 overflow-y-auto`}
>