Skip to content

Commit

Permalink
[P2PS] - Nada/P2PS-3086/fix: translation handle for edit ad header (d…
Browse files Browse the repository at this point in the history
…eriv-com#15956)

* fix: translation handle for edit ad header

* fix: reorder imports
  • Loading branch information
nada-deriv authored Jul 11, 2024
1 parent 0388e66 commit 2397cb7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions packages/p2p/src/pages/my-ads/edit-ad-form.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import { observer } from 'mobx-react-lite';
import { buy_sell } from 'Constants/buy-sell';
import { useStores } from 'Stores';
import { ad_type } from 'Constants/floating-rate';
import { localize } from 'Components/i18next';
import { useModalManagerContext } from 'Components/modal-manager/modal-manager-context';
import AdWizard from './ad-wizard';
import './edit-ad-form.scss';
Expand All @@ -22,9 +23,9 @@ const EditAdFormWrapper = ({ children }) => {
const EditAdForm = ({ country_list }) => {
const { my_ads_store, my_profile_store } = useStores();
const steps = [
{ header: { title: 'Edit ad type and amount' } },
{ header: { title: 'Edit payment details' } },
{ header: { title: 'Edit ad conditions' } },
{ header: { title: localize('Edit ad type and amount') } },
{ header: { title: localize('Edit payment details') } },
{ header: { title: localize('Edit ad conditions') } },
];

const {
Expand Down

0 comments on commit 2397cb7

Please sign in to comment.