mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
update account settings design
This commit is contained in:
@@ -254,13 +254,18 @@ const AccountSettings = () => {
|
||||
|
||||
return (
|
||||
<div className={styles.accountSettings}>
|
||||
<select value={account?.name} onChange={(e) => setActiveAccount(e.target.value)}>
|
||||
{accountsOptions}
|
||||
</select>
|
||||
Account Data Preview:
|
||||
<div>
|
||||
<select value={account?.name} onChange={(e) => setActiveAccount(e.target.value)}>
|
||||
{accountsOptions}
|
||||
</select>
|
||||
<button className={styles.createAccount} onClick={_createAccount}>
|
||||
+
|
||||
</button>
|
||||
</div>
|
||||
<div></div>
|
||||
<textarea value={text} onChange={(e) => setText(e.target.value)} autoCorrect='off' autoComplete='off' spellCheck='false' />
|
||||
<div>
|
||||
<button onClick={_createAccount}>Create</button> a new account
|
||||
<button onClick={saveAccount}>Save</button> <button onClick={() => setText(accountJson)}>Reset</button>
|
||||
</div>
|
||||
<div>
|
||||
<button onClick={_importAccount}>Import</button> full account data
|
||||
|
||||
Reference in New Issue
Block a user