Skip to content

Commit

Permalink
fix: tsc
Browse files Browse the repository at this point in the history
  • Loading branch information
mastro993 committed Feb 13, 2025
1 parent c911186 commit 7c18c38
Showing 1 changed file with 13 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -163,19 +163,21 @@ const WalletPaymentOutcomeScreen = () => {
testID: "wallet-payment-outcome-success-button"
};

const closeFailureAction: OperationResultScreenContentProps["action"] = {
label: I18n.t("global.buttons.close"),
accessibilityLabel: I18n.t("global.buttons.close"),
onPress: handleClose
};
const closeFailureAction: OperationResultScreenContentProps["secondaryAction"] =
{
label: I18n.t("global.buttons.close"),
accessibilityLabel: I18n.t("global.buttons.close"),
onPress: handleClose
};

const contactSupportAction: OperationResultScreenContentProps["action"] = {
label: I18n.t("wallet.payment.support.button"),
accessibilityLabel: I18n.t("wallet.payment.support.button"),
onPress: handleContactSupport
};
const contactSupportAction: OperationResultScreenContentProps["secondaryAction"] =
{
label: I18n.t("wallet.payment.support.button"),
accessibilityLabel: I18n.t("wallet.payment.support.button"),
onPress: handleContactSupport
};

const onboardPaymentMethodCloseAction: OperationResultScreenContentProps["action"] =
const onboardPaymentMethodCloseAction: OperationResultScreenContentProps["secondaryAction"] =
{
label: I18n.t(
"wallet.payment.outcome.PAYMENT_METHODS_NOT_AVAILABLE.secondaryAction"
Expand Down

0 comments on commit 7c18c38

Please sign in to comment.