Skip to content
This repository was archived by the owner on Feb 22, 2024. It is now read-only.

Commit 3fbc28a

Browse files
authored
Merge pull request #5421 from ahkuma/purchase_animation
ahkuma/basisOrPayout -> stakeOrPayout
2 parents d042ce5 + 61983a3 commit 3fbc28a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/javascript/app_2/Modules/Trading/Components/Form/Purchase/contract-info.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const ContractInfo = ({
1717
proposal_info,
1818
}) => {
1919
const localized_basis = getLocalizedBasis();
20-
const basisOrPayout = () => {
20+
const stakeOrPayout = () => {
2121
switch (basis) {
2222
case 'stake':
2323
return localized_basis.payout;
@@ -41,7 +41,7 @@ const ContractInfo = ({
4141
>
4242
<div className='trade-container__price-info-basis'>
4343
{has_error_or_not_loaded
44-
? basisOrPayout()
44+
? stakeOrPayout()
4545
: localize('[_1]', proposal_info.obj_contract_basis.text)
4646
}
4747
</div>

0 commit comments

Comments
 (0)