diff --git a/.changeset/sweet-cloths-bet.md b/.changeset/sweet-cloths-bet.md new file mode 100644 index 000000000..2966b3fca --- /dev/null +++ b/.changeset/sweet-cloths-bet.md @@ -0,0 +1,5 @@ +--- +'@relayprotocol/relay-kit-ui': patch +--- + +Clearer error for locked wallet diff --git a/packages/ui/src/components/common/ErrorWell.tsx b/packages/ui/src/components/common/ErrorWell.tsx index eeb102a11..eb8df804d 100644 --- a/packages/ui/src/components/common/ErrorWell.tsx +++ b/packages/ui/src/components/common/ErrorWell.tsx @@ -30,7 +30,7 @@ const ErrorWell: React.FC = ({ error, hasTxHashes, fromChain }) => { !hasTxHashes || error?.message?.includes('Deposit transaction with hash') ) { - return 'Oops, something went wrong while initiating the swap. Your request was not submitted. Please try again.' + return 'Oops, something went wrong while initiating the swap. Your request was not submitted. Please try again, and make sure your wallet is unlocked.' } else if (error?.message?.includes('solver status check')) { return 'This transaction is taking longer than usual to process. Please visit the transaction page for more details.' } else if (error?.message?.includes('OUT_OF_ENERGY')) {