From 8f444d9799a1fef0ae20c86f508b4a0c375a7baa Mon Sep 17 00:00:00 2001 From: Jeesun Kim Date: Fri, 12 Apr 2024 10:56:36 -0700 Subject: [PATCH] cleanup --- src/app/(sidebar)/endpoints/[[...pages]]/page.tsx | 2 -- src/app/(sidebar)/transaction/sign/page.tsx | 3 ++- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/app/(sidebar)/endpoints/[[...pages]]/page.tsx b/src/app/(sidebar)/endpoints/[[...pages]]/page.tsx index 25f3375a..c75cce56 100644 --- a/src/app/(sidebar)/endpoints/[[...pages]]/page.tsx +++ b/src/app/(sidebar)/endpoints/[[...pages]]/page.tsx @@ -47,8 +47,6 @@ export default function Endpoints() { .find((page) => pathname.includes(page.route)) ?.nestedItems?.find((i) => i.route === pathname); - console.log("page: ", page); - const pageData = page?.form; const requiredFields = sanitizeArray( pageData?.requiredParams?.split(",") || [], diff --git a/src/app/(sidebar)/transaction/sign/page.tsx b/src/app/(sidebar)/transaction/sign/page.tsx index 334d204d..b68ed329 100644 --- a/src/app/(sidebar)/transaction/sign/page.tsx +++ b/src/app/(sidebar)/transaction/sign/page.tsx @@ -55,7 +55,8 @@ export default function SignTransaction() { setIsTxImported(true); setTx(transaction); } catch (e) { - console.log("e:", e); + setIsTxImported(false); + setTxErrMsg("Unable to parse input XDR into Transaction Envelope"); } };