mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
fix settings modal read only
This commit is contained in:
@@ -263,7 +263,11 @@ const SettingsModal = ({ isOpen, closeModal }) => {
|
|||||||
To export, click "Export", then save your account data displayed below in a safe place. To import, paste your account data into the box below, then click "Import".
|
To export, click "Export", then save your account data displayed below in a safe place. To import, paste your account data into the box below, then click "Import".
|
||||||
</li>
|
</li>
|
||||||
<div className="settings-input">
|
<div className="settings-input">
|
||||||
<textarea ref={importRef} value={accountJson} />
|
{accountJson ? (
|
||||||
|
<textarea value={accountJson} readOnly />
|
||||||
|
): (
|
||||||
|
<textarea ref={importRef} />
|
||||||
|
)}
|
||||||
</div>
|
</div>
|
||||||
<li className="settings-option disc" style={{marginTop: '15px'}}>
|
<li className="settings-option disc" style={{marginTop: '15px'}}>
|
||||||
Account Address: u/{account?.author.shortAddress}
|
Account Address: u/{account?.author.shortAddress}
|
||||||
|
|||||||
Reference in New Issue
Block a user