From 537e6de7dfbb1226f9d5f82ab90a9ef0baa05061 Mon Sep 17 00:00:00 2001 From: Kames Date: Thu, 5 Dec 2024 11:50:15 -0700 Subject: [PATCH] qa: minor updates --- apps/api-universal/src/routes/accounts.ts | 2 +- .../components/card-payment-basic.tsx | 3 +-- .../components/did-default-parsed-view.tsx | 1 - .../core/leaderboard-apply-dialog.tsx | 2 +- .../src/hooks/use-universal-message-sign.tsx | 1 - .../components/finance/debit-card.tsx | 4 ++-- .../components/identity/did-card.tsx | 22 +++++++++---------- 7 files changed, 15 insertions(+), 20 deletions(-) diff --git a/apps/api-universal/src/routes/accounts.ts b/apps/api-universal/src/routes/accounts.ts index 9f62616c..a1516b1a 100644 --- a/apps/api-universal/src/routes/accounts.ts +++ b/apps/api-universal/src/routes/accounts.ts @@ -39,7 +39,7 @@ const accountsRouter = new Hono() const isValid = verifyUniversalMessage({ chainId: data.chainId, address: data.address, - content: "I want to discover what's possible in the Universal Network.", + content: 'Applying to the join the UNV beta.', signature: data.signature, }); diff --git a/apps/popup/app/(site)/sign/eth-sign-typed-data-v-4/components/card-payment-basic.tsx b/apps/popup/app/(site)/sign/eth-sign-typed-data-v-4/components/card-payment-basic.tsx index 7145935e..deff5910 100644 --- a/apps/popup/app/(site)/sign/eth-sign-typed-data-v-4/components/card-payment-basic.tsx +++ b/apps/popup/app/(site)/sign/eth-sign-typed-data-v-4/components/card-payment-basic.tsx @@ -50,7 +50,7 @@ export const CardPaymentBasic = ({
-
); diff --git a/apps/popup/app/(site)/sign/eth-sign-typed-data-v-4/components/did-default-parsed-view.tsx b/apps/popup/app/(site)/sign/eth-sign-typed-data-v-4/components/did-default-parsed-view.tsx index fb376df8..57775d62 100644 --- a/apps/popup/app/(site)/sign/eth-sign-typed-data-v-4/components/did-default-parsed-view.tsx +++ b/apps/popup/app/(site)/sign/eth-sign-typed-data-v-4/components/did-default-parsed-view.tsx @@ -36,7 +36,6 @@ export const DIDDefaultParsedView = ({ return (
-
+ {/*
*/}
diff --git a/packages/universal-wallet-ui/components/identity/did-card.tsx b/packages/universal-wallet-ui/components/identity/did-card.tsx index 5614cf5d..0c159b9f 100644 --- a/packages/universal-wallet-ui/components/identity/did-card.tsx +++ b/packages/universal-wallet-ui/components/identity/did-card.tsx @@ -1,5 +1,3 @@ -import React from 'react'; - import { Fingerprint } from 'lucide-react'; import type { Address } from 'viem'; import { Card } from '../ui/card'; @@ -32,14 +30,14 @@ export function DIDCard({ 'relative h-[250px] w-full min-w-[320px] max-w-[400px] overflow-hidden rounded-2xl border-0 bg-gradient-to-br text-white shadow-lg', )} > -
-
-
-
-
- Universal Identity - -
+ {/*
*/} +
+
+
+
+ Universal Identity + +
{`did:uis:${chainId}:${truncateEthAddress(resolver, 7)}:${truncateEthAddress(account)}`} @@ -50,11 +48,11 @@ export function DIDCard({
-
Resolver
+
Resolver
{resolver}
-
Account
+
Account
{account}