Skip to content

Commit

Permalink
fix: error rejection
Browse files Browse the repository at this point in the history
  • Loading branch information
Sceat committed Mar 28, 2024
1 parent e8592ff commit 94619cb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion src/core/sui/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,11 @@ const execute = async transaction_block => {

return result
} catch (error) {
if (error.message === 'Rejected from user') return
if (
error.message.includes('rejection') ||
error.message.includes('Rejected')
)
return
throw error
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/views/tab-characters.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
en:
welcome: Welcome Adventurer!
explanation: |
AresRPG is an immersive, voxel-based MMORPG that unfolds entirely within your browser, uniquely crafted atop the {0} chain.
AresRPG is an immersive voxel-based MMORPG that unfolds entirely within your browser, uniquely crafted atop the {0} chain.
Our innovative approach eliminates the need for traditional databases; every piece of data is securely stored on-chain.
This means you, as a User, hold complete ownership over your in-game assets.
Everything from items and characters to gold coins and titles resides within your wallet, offering you unparalleled control and security.
Expand Down

0 comments on commit 94619cb

Please sign in to comment.