File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -161,7 +161,7 @@ export default class App extends Component {
161161
162162 // NOTE: This function is for _displaying_ a currency value to a user. It
163163 // adds a currency unit to the beginning or end of the number!
164- currencyDisplay ( amount , toParts = false , convert = true ) {
164+ currencyDisplay ( amount , convert = true ) {
165165 const { account } = this . state ;
166166 const locale = getStoredValue ( 'i18nextLng' ) ;
167167 const symbol = getStoredValue ( 'currency' , account ) || CONFIG . CURRENCY . DEFAULT_CURRENCY ;
@@ -175,7 +175,8 @@ export default class App extends Component {
175175 currency : symbol ,
176176 maximumFractionDigits : 2
177177 } ) ;
178- return toParts ? formatter . formatToParts ( amount ) : formatter . format ( amount ) ;
178+
179+ return formatter . format ( amount ) ;
179180 }
180181
181182 /*
You can’t perform that action at this time.
0 commit comments