From 9ab3d33215173425b2b7fd2bfdc3081e5794dc14 Mon Sep 17 00:00:00 2001 From: PhilReact Date: Mon, 16 Dec 2024 11:48:32 +0200 Subject: [PATCH] fixes --- src/background.ts | 3 +-- src/components/Group/AddGroup.tsx | 2 +- src/components/Group/Group.tsx | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/background.ts b/src/background.ts index 006c027..7922cc5 100644 --- a/src/background.ts +++ b/src/background.ts @@ -2093,8 +2093,7 @@ export async function createGroup({ const signedBytes = Base58.encode(tx.signedBytes); const res = await processTransactionVersion2(signedBytes); - if (!res?.signature) - throw new Error("Transaction was not able to be processed"); + if (!res?.signature) throw new Error(res?.message || "Transaction was not able to be processed"); return res; } export async function inviteToGroup({ groupId, qortalAddress, inviteTime }) { diff --git a/src/components/Group/AddGroup.tsx b/src/components/Group/AddGroup.tsx index f4c6e6d..ed90c8c 100644 --- a/src/components/Group/AddGroup.tsx +++ b/src/components/Group/AddGroup.tsx @@ -194,7 +194,7 @@ export const AddGroup = ({ address, open, setOpen }) => { - Add Group + Group Mgmt - Add Group + Group Mgmt )} {chatMode === "directs" && (