Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/sweet-cloths-bet.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@relayprotocol/relay-kit-ui': patch
---

Clearer error for locked wallet
2 changes: 1 addition & 1 deletion packages/ui/src/components/common/ErrorWell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const ErrorWell: React.FC<Props> = ({ 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')) {
Expand Down