@ -19,7 +19,7 @@ const ConnectionDetails = ({
< input
type = "text"
id = "connectionHost"
className = { ` ${ styles . host } ${ startLndHostError && styles . error } ` }
className = { ` ${ styles . host } ${ startLndHostError ? styles . error : undefined } ` }
ref = { input => input }
value = { connectionHost }
onChange = { event => setConnectionHost ( event . target . value ) }
@ -27,7 +27,7 @@ const ConnectionDetails = ({
< p className = { styles . description } >
Hostname and port of the Lnd gRPC interface . Example : localhost : 10009
< / p >
< p className = { ` ${ startLndHostError && styles . visible } ${ styles . errorMessage } ` } >
< p className = { ` ${ startLndHostError ? styles . visible : undefined } ${ styles . errorMessage } ` } >
{ startLndHostError }
< / p >
< / s e c t i o n >
@ -36,13 +36,13 @@ const ConnectionDetails = ({
< input
type = "text"
id = "connectionCert"
className = { ` ${ styles . cert } ${ startLndCertError && styles . error } ` }
className = { ` ${ styles . cert } ${ startLndCertError ? styles . error : undefined } ` }
ref = { input => input }
value = { connectionCert }
onChange = { event => setConnectionCert ( event . target . value ) }
/ >
< p className = { styles . description } > Path to the lnd tls cert . Example : / p a t h / t o / t l s . c e r t < / p >
< p className = { ` ${ startLndCertError && styles . visible } ${ styles . errorMessage } ` } >
< p className = { ` ${ startLndCertError ? styles . visible : undefined } ${ styles . errorMessage } ` } >
{ startLndCertError }
< / p >
< / s e c t i o n >
@ -51,7 +51,7 @@ const ConnectionDetails = ({
< input
type = "text"
id = "connectionMacaroon"
className = { ` ${ styles . macaroon } ${ startLndMacaroonError && styles . error } ` }
className = { ` ${ styles . macaroon } ${ startLndMacaroonError ? styles . error : undefined } ` }
ref = { input => input }
value = { connectionMacaroon }
onChange = { event => setConnectionMacaroon ( event . target . value ) }
@ -59,7 +59,7 @@ const ConnectionDetails = ({
< p className = { styles . description } >
Path to the lnd macaroon file . Example : / p a t h / t o / a d m i n . m a c a r o o n
< / p >
< p className = { ` ${ startLndMacaroonError && styles . visible } ${ styles . errorMessage } ` } >
< p className = { ` ${ startLndMacaroonError ? styles . visible : undefined } ${ styles . errorMessage } ` } >
{ startLndMacaroonError }
< / p >
< / s e c t i o n >