Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
MonilBhavsar committed Nov 27, 2023
1 parent 48152fc commit fd1319c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/settings/InitialSettingsPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ function InitialSettingsPage(props) {
* @param {Boolean} isPaymentItem whether the item being rendered is the payments menu item
* @returns {String|undefined} the user's wallet balance
*/
const getWalletBalance = (isPaymentItem) => isPaymentItem ? CurrencyUtils.convertToDisplayString(props.userWallet.currentBalance) : undefined;
const getWalletBalance = (isPaymentItem) => (isPaymentItem ? CurrencyUtils.convertToDisplayString(props.userWallet.currentBalance) : undefined);

return (
<>
Expand Down

0 comments on commit fd1319c

Please sign in to comment.