diff --git a/apps/console/app/components/DeleteAppModal/DeleteAppModal.tsx b/apps/console/app/components/DeleteAppModal/DeleteAppModal.tsx index b7e55e7f9c..cdef1ba2ab 100644 --- a/apps/console/app/components/DeleteAppModal/DeleteAppModal.tsx +++ b/apps/console/app/components/DeleteAppModal/DeleteAppModal.tsx @@ -26,13 +26,12 @@ export const DeleteAppModal = ({ return ( deleteAppCallback(false)} >
diff --git a/apps/console/app/components/RotateCredsModal/RotateCredsModal.tsx b/apps/console/app/components/RotateCredsModal/RotateCredsModal.tsx index 0852bd94b9..c3481273e8 100644 --- a/apps/console/app/components/RotateCredsModal/RotateCredsModal.tsx +++ b/apps/console/app/components/RotateCredsModal/RotateCredsModal.tsx @@ -18,10 +18,10 @@ export const RotateCredsModal = ({ rotateCallback, }: RotateCredsModalProps) => { return ( - closeCallback()}> + closeCallback()}>
diff --git a/apps/console/app/routes/apps/$clientId/designer.beta.tsx b/apps/console/app/routes/apps/$clientId/designer.beta.tsx index f237e3884a..4637cda8af 100644 --- a/apps/console/app/routes/apps/$clientId/designer.beta.tsx +++ b/apps/console/app/routes/apps/$clientId/designer.beta.tsx @@ -228,7 +228,8 @@ const ProviderModal = ({ return ( onClose(false)}> -
+
Login Provider Configuration diff --git a/apps/console/app/routes/apps/$clientId/domain-wip.tsx b/apps/console/app/routes/apps/$clientId/domain-wip.tsx index 6668b0988b..27b79bf3c1 100644 --- a/apps/console/app/routes/apps/$clientId/domain-wip.tsx +++ b/apps/console/app/routes/apps/$clientId/domain-wip.tsx @@ -397,8 +397,8 @@ const DeleteModal = ({ return (
Danger diff --git a/apps/passport/app/components/applications/claims.tsx b/apps/passport/app/components/applications/claims.tsx index cf085a365f..84fefae505 100644 --- a/apps/passport/app/components/applications/claims.tsx +++ b/apps/passport/app/components/applications/claims.tsx @@ -33,8 +33,8 @@ export const ConfirmRevocationModal = ({ setIsOpen(false)}>
setIsOpen(false)}>
-
+
Not Found
diff --git a/apps/passport/app/routes/settings/accounts/index.tsx b/apps/passport/app/routes/settings/accounts/index.tsx index b306880303..3620bcc54b 100644 --- a/apps/passport/app/routes/settings/accounts/index.tsx +++ b/apps/passport/app/routes/settings/accounts/index.tsx @@ -120,8 +120,8 @@ const RenameModal = ({ }) => ( setIsOpen(false)}>
Name Your Account diff --git a/apps/passport/app/routes/settings/advanced.tsx b/apps/passport/app/routes/settings/advanced.tsx index 739be07b18..afeec9d518 100644 --- a/apps/passport/app/routes/settings/advanced.tsx +++ b/apps/passport/app/routes/settings/advanced.tsx @@ -129,8 +129,8 @@ const DeleteRollupIdentityModal = ({ setIsOpen(false)}>
{text?.length && ( { return ( -
-
+
+
warning
diff --git a/apps/profile/app/components/nfts/modal/index.tsx b/apps/profile/app/components/nfts/modal/index.tsx index 16d14171e2..abdb807acb 100644 --- a/apps/profile/app/components/nfts/modal/index.tsx +++ b/apps/profile/app/components/nfts/modal/index.tsx @@ -41,8 +41,8 @@ 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 rounded-lg bg-white px-4 pt-5 pb-4 - text-left shadow-xl transition-all sm:p-6 overflow-y-auto`} + bg-white rounded-lg px-4 pb-4 + text-left transition-all sm:px-6 sm:pb-6 overflow-y-auto`} >
@@ -52,11 +52,10 @@ const NftModal = ({ )} setImgLoaded(true)} alt="" @@ -176,15 +175,15 @@ const NftModal = ({
)) || ( - - {d.value} - - )} + > + {d.value} + + )}
) } 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 73334fbc15..2a985ed104 100644 --- a/packages/design-system/src/molecules/modal/Modal.tsx +++ b/packages/design-system/src/molecules/modal/Modal.tsx @@ -53,24 +53,28 @@ export const Modal = ({ leaveFrom="opacity-100 translate-y-0 sm:scale-100" leaveTo="opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95" > - +
-
-
{ - if (handleClose && closable) handleClose(false) - }} - > - -
+
+ { + closable &&
{ + if (handleClose) handleClose(false) + }} + > + +
+ }
{children}