move button to save relays up.
This commit is contained in:
@@ -54,7 +54,10 @@ function Options() {
|
|||||||
<p>nostr signer extension</p>
|
<p>nostr signer extension</p>
|
||||||
<h2>options</h2>
|
<h2>options</h2>
|
||||||
<div style={{marginBottom: '10px'}}>
|
<div style={{marginBottom: '10px'}}>
|
||||||
<div>preferred relays:</div>
|
<div style={{display: 'flex', justifyContent: 'space-between'}}>
|
||||||
|
<span>preferred relays:</span>
|
||||||
|
<button onClick={saveRelays}>save</button>
|
||||||
|
</div>
|
||||||
<div style={{marginLeft: '10px'}}>
|
<div style={{marginLeft: '10px'}}>
|
||||||
{relays.map(({url, policy}, i) => (
|
{relays.map(({url, policy}, i) => (
|
||||||
<div key={i} style={{display: 'flex'}}>
|
<div key={i} style={{display: 'flex'}}>
|
||||||
@@ -89,9 +92,6 @@ function Options() {
|
|||||||
onBlur={addNewRelay}
|
onBlur={addNewRelay}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
|
||||||
<button onClick={saveRelays}>save</button>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
|
|||||||
Reference in New Issue
Block a user