Skip to content

Commit

Permalink
fix: translations (binary-com#10045)
Browse files Browse the repository at this point in the history
  • Loading branch information
farrah-deriv committed Sep 13, 2023
1 parent 8968499 commit 80baa67
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@ import React from 'react';
import { useStores } from 'Stores';
import { Button, Modal, Text } from '@deriv/components';
import { isMobile, formatMoney } from '@deriv/shared';
import { localize } from '@deriv/translations';
import FileUploaderComponent from 'Components/file-uploader-component';
import FormError from 'Components/form/error.jsx';
import { Localize } from 'Components/i18next';
import { Localize, localize } from 'Components/i18next';
import { useModalManagerContext } from 'Components/modal-manager/modal-manager-context';
import { getErrorMessage, max_pot_file_size } from 'Utils/file-uploader';
import { removeTrailingZeros, roundOffDecimal, setDecimalPlaces } from 'Utils/format-value';
Expand Down
2 changes: 1 addition & 1 deletion packages/p2p/src/utils/file-uploader.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { localize } from '@deriv/translations';
import { localize } from 'Components/i18next';

export const convertToMB = bytes => bytes / (1024 * 1024);

Expand Down

0 comments on commit 80baa67

Please sign in to comment.