fix: repeated words on tooltip and variable simplification

This commit is contained in:
José Oliveira 2021-10-07 14:48:16 +01:00
parent c786f5fd6e
commit cace34d8fe

View file

@ -150,7 +150,7 @@ const Blacklist = () => {
const complianceConfig = const complianceConfig =
configData?.config && fromNamespace('compliance')(configData.config) configData?.config && fromNamespace('compliance')(configData.config)
const rejectAddressReuse = complianceConfig?.rejectAddressReuse ?? false const rejectAddressReuse = !!complianceConfig?.rejectAddressReuse
const enablePaperWalletOnly = !!complianceConfig?.enablePaperWalletOnly const enablePaperWalletOnly = !!complianceConfig?.enablePaperWalletOnly
@ -252,10 +252,9 @@ const Blacklist = () => {
<Label2>{enablePaperWalletOnly ? 'On' : 'Off'}</Label2> <Label2>{enablePaperWalletOnly ? 'On' : 'Off'}</Label2>
<HoverableTooltip width={304}> <HoverableTooltip width={304}>
<P> <P>
The "Enable paper wallet (only)" option means that all only The "Enable paper wallet (only)" option means that only paper
paper wallets paper wallets will be printed for users, and wallets will be printed for users, and they won't be permitted
they won't be permitted to scan an address from their own to scan an address from their own wallet.
wallet.
</P> </P>
</HoverableTooltip> </HoverableTooltip>
</Box> </Box>