Skip to content

Commit

Permalink
removed tmp check for trezor
Browse files Browse the repository at this point in the history
  • Loading branch information
vsubhuman committed Nov 15, 2024
1 parent 6084c94 commit 72e6100
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ import type { LayoutComponentMap } from '../../../styles/context/layout';
import type { StoresAndActionsProps } from '../../../types/injectedProps.types';
import type { $npm$ReactIntl$IntlFormat } from 'react-intl';
import { MultiToken } from '../../../api/common/lib/MultiToken';
import type { WalletType } from '../../../../chrome/extension/background/types';

// populated by ConfigWebpackPlugin
declare var CONFIG: ConfigType;
Expand Down Expand Up @@ -212,9 +211,7 @@ class StakingPageContent extends Component<AllProps> {
const delegatedUtxo = stores.delegation.getDelegatedUtxoBalance(publicDeriver.publicDeriverId);
const delegatedRewards = stores.delegation.getRewardBalanceOrZero(publicDeriver);

// <TODO:PENDING_REMOVAL> remove special check after governance for trezor is added
const isTrezor = (publicDeriver.type: WalletType) === 'trezor';
const isParticipatingToGovernance = stores.delegation.governanceStatus?.drepDelegation != null || isTrezor;
const isParticipatingToGovernance = stores.delegation.governanceStatus?.drepDelegation != null;

return (
<Box>
Expand Down

0 comments on commit 72e6100

Please sign in to comment.