Skip to content

Commit

Permalink
Merge branch 'injective-ledger' into release-v2.18.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tombeynon committed Dec 28, 2024
2 parents d20203d + d665b61 commit b136030
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ class App extends React.Component {
}
} catch (e) {
return this.setState({
error: `Unable to connect to ${signerProvider?.label || 'signer'}: ${e.message}`,
error: `Unable to connect to ${signerProvider?.label || 'signer'}: ${e?.message}`,
address: null,
wallet: null,
})
Expand Down
4 changes: 2 additions & 2 deletions src/components/Delegations.js
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ class Delegations extends React.Component {
}

restakePossible() {
return this.props.address && this.props.wallet.authzSupport() && this.restakeSupport();
return this.props.address && this.props.wallet?.authzSupport() && this.restakeSupport();
}

totalRewards(validators) {
Expand Down Expand Up @@ -432,7 +432,7 @@ class Delegations extends React.Component {
)}
{!this.authzSupport() && (
<AlertMessage variant="info" dismissible={false}>
{this.props.network.prettyName} doesn't support Authz just yet. You can stake and compound manually, REStake will update automatically when support is added.
{this.props.network.prettyName} doesn't support Authz just yet. You can stake and compound manually until support is added.
</AlertMessage>
)}
{this.authzSupport() &&
Expand Down
2 changes: 1 addition & 1 deletion src/components/NetworkChecks.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ function NetworkChecks(props) {
renderCheck({
title: !network.authzAminoGenericOnly ? <strong>Full Authz support</strong> : 'Authz support',
failTitle: 'Authz not supported',
failDescription: "This network doesn't support Authz just yet. You can stake and compound manually, REStake will update automatically when support is added.",
failDescription: "This network doesn't support Authz just yet. You can stake and compound manually until support is added.",
state: network.authzSupport,
identifier: 'authz'
}),
Expand Down

0 comments on commit b136030

Please sign in to comment.