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: 2 additions & 3 deletions packages/boba/gateway/src/actions/createAction.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,8 @@ export function createAction (key, asyncAction) {

// provide more information in special cases
// MetaMask user rejected sig - throw up a banner
if (response.code === 4001
||
response.hasOwnProperty('reason') && response?.reason?.includes('user rejected transaction')
if ((response.code === 4001 ||
response.hasOwnProperty('reason')) && response?.reason?.includes('user rejected transaction')
) {
console.log("MetaMask: user denied signature")
errorMessage = 'MetaMask: Transaction was rejected by user - signature denied'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ const BobaBeamAlert = () => {
if (!!Number(BOBABEAM_STATUS) && activeNetwork === NETWORK.MOONBEAM) {
return (
<AlertText>
Deposits are disabled. For users of Bobabeam or Bobabeam applications
you will need to transfer all your funds to Moonbeam mainnet before May
15th or risk permanently losing access to any assets on Bobabeam
For users of Bobabeam or Bobabeam applications you will need to transfer
all your funds to Moonbeam mainnet before May 15th or risk permanently
losing access to any assets on Bobabeam
</AlertText>
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ exports[`BobaBeamAlert should match the snapshot when active network is moonbeam
<p
class="c0 c1"
>
Deposits are disabled. For users of Bobabeam or Bobabeam applications you will need to transfer all your funds to Moonbeam mainnet before May 15th or risk permanently losing access to any assets on Bobabeam
For users of Bobabeam or Bobabeam applications you will need to transfer all your funds to Moonbeam mainnet before May 15th or risk permanently losing access to any assets on Bobabeam
</p>
</DocumentFragment>
`;
Expand Down