From 51150ba3da2995bdf4f8331d29f6efd00eaab5ee Mon Sep 17 00:00:00 2001 From: Radu-Cristian Popa Date: Fri, 25 Oct 2024 02:47:44 +0200 Subject: [PATCH 1/2] fix(wallet/frontend): fix pp for card (#1774) Fix PP --- .../wallet/frontend/src/components/WalletAddressesTable.tsx | 2 +- packages/wallet/frontend/src/pages/index.tsx | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/packages/wallet/frontend/src/components/WalletAddressesTable.tsx b/packages/wallet/frontend/src/components/WalletAddressesTable.tsx index 419fa5fce..4877ed9b4 100644 --- a/packages/wallet/frontend/src/components/WalletAddressesTable.tsx +++ b/packages/wallet/frontend/src/components/WalletAddressesTable.tsx @@ -104,7 +104,7 @@ export const CopyWalletAddress = () => { let pointer = walletAddress.url if (walletAddress.isCard) { - const url = new URL(walletAddress.url) + const url = new URL(walletAddress.url.replace('$', 'https://')) pointer = `$ilp.dev${url.pathname}` } diff --git a/packages/wallet/frontend/src/pages/index.tsx b/packages/wallet/frontend/src/pages/index.tsx index 7f063e144..f62cd09ec 100644 --- a/packages/wallet/frontend/src/pages/index.tsx +++ b/packages/wallet/frontend/src/pages/index.tsx @@ -77,9 +77,6 @@ export const getServerSideProps: GetServerSideProps<{ const response = await accountService.list(ctx.req.headers.cookie) const user = await userService.me(ctx.req.headers.cookie) - console.log('response', JSON.stringify(response, null, 2)) - console.log('user', JSON.stringify(user, null, 2)) - if (!response.success || !user.success) { return { notFound: true From 0e4aeefacb129df1edf97585cee79fbdda6a71a5 Mon Sep 17 00:00:00 2001 From: Timea <117268143+Tymmmy@users.noreply.github.com> Date: Fri, 25 Oct 2024 12:54:28 +0200 Subject: [PATCH 2/2] fix: login fixes (#1777) login fixes --- packages/wallet/frontend/src/pages/auth/login.tsx | 12 ++++++------ packages/wallet/frontend/src/pages/auth/signup.tsx | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/packages/wallet/frontend/src/pages/auth/login.tsx b/packages/wallet/frontend/src/pages/auth/login.tsx index 55214b871..d75826910 100644 --- a/packages/wallet/frontend/src/pages/auth/login.tsx +++ b/packages/wallet/frontend/src/pages/auth/login.tsx @@ -140,6 +140,12 @@ const LoginPage: NextPageWithLayout = () => { /> +

+ Not a customer?{' '} + + Create an account + +

{ width={500} height={200} /> -

- Not a customer?{' '} - - Create an account - -

) } diff --git a/packages/wallet/frontend/src/pages/auth/signup.tsx b/packages/wallet/frontend/src/pages/auth/signup.tsx index 4e79bebfc..0acdf3c0e 100644 --- a/packages/wallet/frontend/src/pages/auth/signup.tsx +++ b/packages/wallet/frontend/src/pages/auth/signup.tsx @@ -40,7 +40,7 @@ const SignUpPage: NextPageWithLayout = () => { return ( <> -

+

Create Account