Skip to content

Commit

Permalink
fix proptypes
Browse files Browse the repository at this point in the history
  • Loading branch information
pedronfigueiredo committed Mar 27, 2024
1 parent c308343 commit 8bd6b68
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,8 @@ import SnapAccountTransactionLoadingScreen from '../../snap-account-transaction-
import { isHardwareKeyring } from '../../../helpers/utils/hardware';
import FeeDetailsComponent from '../components/fee-details-component/fee-details-component';
import { SimulationDetails } from '../components/simulation-details';
import { BannerAlert, BannerBase } from '../../../components/component-library';
import { BannerAlert } from '../../../components/component-library';
import { Severity } from '../../../helpers/constants/design-system';
import { SUPPORTED_CHAIN_IDS } from '../../../../app/scripts/lib/ppom/ppom-middleware';

export default class ConfirmTransactionBase extends Component {
static contextTypes = {
Expand Down Expand Up @@ -171,6 +170,10 @@ export default class ConfirmTransactionBase extends Component {
useMaxValue: PropTypes.bool,
maxValue: PropTypes.string,
isMultiLayerFeeNetwork: PropTypes.bool,
hasMigratedFromOpenSeaToBlockaid: PropTypes.bool,
hasDismissedOpenSeaToBlockaidBanner: PropTypes.bool,
dismissOpenSeaToBlockaidBanner: PropTypes.func,
isNetworkSupportedByBlockaid: PropTypes.bool,
};

state = {
Expand All @@ -185,7 +188,6 @@ export default class ConfirmTransactionBase extends Component {
///: BEGIN:ONLY_INCLUDE_IF(build-mmi)
noteText: '',
///: END:ONLY_INCLUDE_IF
showBanner: true,
};

componentDidUpdate(prevProps) {
Expand Down

0 comments on commit 8bd6b68

Please sign in to comment.