Skip to content

Commit

Permalink
Correct the conditions of showing the initialization warning
Browse files Browse the repository at this point in the history
  • Loading branch information
reyraa committed Feb 5, 2020
1 parent a6a8949 commit a31b2bc
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ export const InitializationMessageRenderer = ({
pendingTransactions,
}) => {
const shouldShowInitialization = (
!!(account.info
&& !(account.info.LSK.serverPublicKey
settings.token.active === 'LSK'
&& account.info
&& account.info.LSK
&& !(account.info.LSK.serverPublicKey
|| account.info.LSK.balance === 0
|| pendingTransactions.length > 0
|| settings.token.active === 'BTC')
)
|| pendingTransactions.length > 0)
);

const onButtonClick = () => {
Expand Down

0 comments on commit a31b2bc

Please sign in to comment.