Prettier
This commit is contained in:
@@ -43,7 +43,9 @@ export class ProviderDisplay extends React.Component<ProviderDisplayProps, Provi
|
||||
this.props.providerType === ProviderType.Injected && this.props.injectedProviderName !== '0x Public';
|
||||
const displayAddress = isAddressAvailable
|
||||
? utils.getAddressBeginAndEnd(this.props.userAddress)
|
||||
: isExternallyInjectedProvider ? 'Account locked' : '0x0000...0000';
|
||||
: isExternallyInjectedProvider
|
||||
? 'Account locked'
|
||||
: '0x0000...0000';
|
||||
// If the "injected" provider is our fallback public node, then we want to
|
||||
// show the "connect a wallet" message instead of the providerName
|
||||
const injectedProviderName = isExternallyInjectedProvider
|
||||
|
Reference in New Issue
Block a user