diff options
Diffstat (limited to 'modern/src/components/PositionValue.js')
-rw-r--r-- | modern/src/components/PositionValue.js | 6 |
1 files 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 (<Link onClick={showAddress}>{t('sharedShowAddress')}</Link>) } - } else { - return (<>{formatValue(value)}</>); + return (<Link onClick={showAddress}>{t('sharedShowAddress')}</Link>); } + return (<>{formatValue(value)}</>); }; export default PositionValue; |