@@ -69,10 +69,7 @@ export default function Ledger({ loginCompleted }) {
6969 const pathOptions = [
7070 { title: 'Ledger Live', value: LEDGER_LIVE_PATH },
7171 { title: 'Ledger Legacy', value: LEDGER_LEGACY_PATH },
72− {
73− title: 'Custom path',
74− value: 'custom',
75− },
72+ { title: 'Custom path', value: 'custom' },
7673 ];
7774 const basePathTitle = pathOptions.find(o => o.value === basePath).title;
7875
@@ -90,7 +87,7 @@ export default function Ledger({ loginCompleted }) {
9087 className="mt-8"
9188 options={pathOptions}
9289 handleUpdate={handlePathSelection}
93− title={'Derivation path'}
90+ title="Derivation path"
9491 currentSelectionTitle={basePathTitle}
9592 fullWidth={true}
9693 />
@@ -106,7 +103,7 @@ export default function Ledger({ loginCompleted }) {
106103 value={addHdPrefix(hdPath)}
107104 autocomplete="off"
108105 onChange={setHdPath}>
109− <InnerLabel>{'HD Path'}</InnerLabel>
106+ <InnerLabel>HD Path</InnerLabel>
110107 </Input>
111108 ) : (
112109 <InnerLabelDropdown
@@ -115,7 +112,7 @@ export default function Ledger({ loginCompleted }) {
115112 prop-format="innerLabel"
116113 options={accountOptions}
117114 handleUpdate={handleAccountSelection}
118− title={'Account'}
115+ title="Account"
119116 currentSelectionTitle={accountTitle}
120117 fullWidth={true}
121118 />
@@ -123,54 +120,46 @@ export default function Ledger({ loginCompleted }) {
123120
124121 return (
125122 <View>
126− <H1>{'Authenticate With Your Ledger'}</H1>
123+ <H1>Authenticate With Your Ledger</H1>
127124
128− <H2>{'Running on HTTPS?'}</H2>
125+ <H2>Running on HTTPS?</H2>
129126
130127 <P>
131− {`Connect and authenticate to your Ledger, and then open the
132− "Ethereum" application. If you're running on older firmware,
133− make sure the "browser support" option is turned on. To sign
134− transactions, you'll also need to enable the "contract data"
135− option.`}
128+ Connect and authenticate to your Ledger, and then open the "Ethereum"
129+ application. If you're running on older firmware, make sure the "browser
130+ support" option is turned on. To sign transactions, you'll also need to
131+ enable the "contract data" option.
136132 </P>
137133
138134 <P>
139− {`If you'd like to use a custom derivation path, you may enter
140− it below.`}
135+ If you'd like to use a custom derivation path, you may enter it below.
141136 </P>
142137
143− <H2>{'Running on HTTP?'}</H2>
138+ <H2>Running on HTTP?</H2>
144139
145− <P>{`To authenticate and sign transactions with a Ledger, Bridge
146− must be serving over HTTPS on localhost. You can do this via the
147− following:`}</P>
140+ <P>
141+ To authenticate and sign transactions with a Ledger, Bridge must be
142+ serving over HTTPS on localhost. You can do this via the following:
143+ </P>
148144
149− <ol className={'measure-md'}>
150− <li className={'mt-4'}>
151− {'Install'}{' '}
152− <a target={'_blank'} href={'https://github.com/FiloSottile/mkcert'}>
153− {'mkcert'}
145+ <ol className="measure-md">
146+ <li className="mt-4">
147+ Install
148+ <a target="_blank" href="https://github.com/FiloSottile/mkcert">
149+ mkcert
154150 </a>
155151 </li>
156− <li className={'mt-4'}>
157− {'Install a local certificate authority via '}
158− <code>{'mkcert -install'}</code>
152+ <li className="mt-4">
153+ Install a local certificate authority via <code>mkcert -install</code>
159154 </li>
160− <li className={'mt-4'}>
161− {'In your '}
162− <code>{'bridge'}</code>
163− {' directory, generate a certificate valid for localhost via '}{' '}
164− <code>{'mkcert localhost'}</code>
165− {'.'}
166− {'This will produce two files: '}
167− <code>{'localhost.pem'}</code> {', the local certificate, and '}
168− <code>{'localhost-key.pem'}</code>
169− {', its corresponding private key.'}
155+ <li className="mt-4">
156+ In your <code>bridge</code> directory, generate a certificate valid
157+ for localhost via <code>mkcert localhost</code>. This will produce two
158+ files: <code>localhost.pem</code>, the local certificate, and
159+ <code>localhost-key.pem</code> , its corresponding private key.
170160 </li>
171− <li className={'mt-4'}>
172− {'Run '}
173− <code>{'python bridge-https.py'}</code>
161+ <li className="mt-4">
162+ Run <code>python bridge-https.py</code>
174163 </li>
175164 </ol>
176165