diff --git a/cypress/e2e/happypath/sendfunds_relay.cy.js b/cypress/e2e/happypath/sendfunds_relay.cy.js index 6888f03fed..8e6f96800a 100644 --- a/cypress/e2e/happypath/sendfunds_relay.cy.js +++ b/cypress/e2e/happypath/sendfunds_relay.cy.js @@ -45,7 +45,7 @@ function visit(url) { cy.visit(url) } -// TODO: Relay only allows 5 txs per hour. +// TODO: Relay only allows 5 txs per day. describe('Send funds with relay happy path tests', { defaultCommandTimeout: 300000 }, () => { before(async () => { cy.clearLocalStorage().then(() => { diff --git a/cypress/e2e/pages/create_tx.pages.js b/cypress/e2e/pages/create_tx.pages.js index 315211344b..37361e213c 100644 --- a/cypress/e2e/pages/create_tx.pages.js +++ b/cypress/e2e/pages/create_tx.pages.js @@ -47,7 +47,7 @@ const viewTransactionBtn = 'View transaction' const transactionDetailsTitle = 'Transaction details' const QueueLabel = 'needs to be executed first' const TransactionSummary = 'Send ' -const transactionsPerHrStr = 'free transactions left this hour' +const transactionsPerHrStr = 'free transactions left today' const maxAmountBtnStr = 'Max' const nextBtnStr = 'Next' diff --git a/src/components/tx/RemainingRelays/index.tsx b/src/components/tx/RemainingRelays/index.tsx index d349b0cd0b..41a3b60b05 100644 --- a/src/components/tx/RemainingRelays/index.tsx +++ b/src/components/tx/RemainingRelays/index.tsx @@ -1,18 +1,18 @@ import { SvgIcon, Tooltip, Typography } from '@mui/material' import InfoIcon from '@/public/images/notifications/info.svg' -import { MAX_HOUR_RELAYS } from '@/hooks/useRemainingRelays' +import { MAX_DAY_RELAYS } from '@/hooks/useRemainingRelays' import css from '../BalanceInfo/styles.module.css' import type { RelayCountResponse } from '@safe-global/safe-gateway-typescript-sdk' const RemainingRelays = ({ relays, tooltip }: { relays?: RelayCountResponse; tooltip?: string }) => { if (!tooltip) { - tooltip = `${relays?.limit ?? MAX_HOUR_RELAYS} transactions per hour for free` + tooltip = `${relays?.limit ?? MAX_DAY_RELAYS} transactions per day for free` } return (