From 9ac0392dd839f6cb7669ca4a611cdf7be5bcbdd3 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Mon, 2 May 2022 19:19:16 -0700 Subject: Fix style --- modern/src/components/PositionValue.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/modern/src/components/PositionValue.js b/modern/src/components/PositionValue.js index 9127ecf4..4edfb416 100644 --- a/modern/src/components/PositionValue.js +++ b/modern/src/components/PositionValue.js @@ -68,12 +68,10 @@ const PositionValue = ({ position, property, attribute }) => { if (property === 'address') { if (address) { return (<>{address}); - } else { - return ({t('sharedShowAddress')}) } - } else { - return (<>{formatValue(value)}); + return ({t('sharedShowAddress')}); } + return (<>{formatValue(value)}); }; export default PositionValue; -- cgit v1.2.3