forked from Kieran/snort
Preferences & Profile changes (#126)
Added: information on what the debug menu does, and added a helpful bit of text next to the private key to "not share it with anyone" to help new users out.
This commit is contained in:
parent
fe13f8d682
commit
a8560725cc
@ -62,7 +62,7 @@ const PreferencesPage = () => {
|
|||||||
<div className="card flex">
|
<div className="card flex">
|
||||||
<div className="flex f-col f-grow">
|
<div className="flex f-col f-grow">
|
||||||
<div>Debug Menus</div>
|
<div>Debug Menus</div>
|
||||||
<small>Shows extra options to help with debugging data</small>
|
<small>Shows "Copy ID" and "Copy Event JSON" in the context menu on each message</small>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<input type="checkbox" checked={perf.showDebugMenus} onChange={e => dispatch(setPreferences({ ...perf, showDebugMenus: e.target.checked }))} />
|
<input type="checkbox" checked={perf.showDebugMenus} onChange={e => dispatch(setPreferences({ ...perf, showDebugMenus: e.target.checked }))} />
|
||||||
|
@ -184,7 +184,7 @@ export default function ProfileSettings() {
|
|||||||
{settings()}
|
{settings()}
|
||||||
{privKey && (<div className="flex f-col bg-grey">
|
{privKey && (<div className="flex f-col bg-grey">
|
||||||
<div>
|
<div>
|
||||||
<h4>Private Key:</h4>
|
<h4>Your Private Key Is (do not share this with anyone):</h4>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<Copy text={hexToBech32("nsec", privKey)} />
|
<Copy text={hexToBech32("nsec", privKey)} />
|
||||||
|
Loading…
Reference in New Issue
Block a user