mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-06 22:07:55 +00:00
add member editing
This commit is contained in:
parent
f526a6c40f
commit
d30136fba2
9 changed files with 290 additions and 48 deletions
|
|
@ -6,12 +6,12 @@ import defaultAvatar from '../default_discord_avatar.png'
|
|||
|
||||
export default function System(props) {
|
||||
|
||||
const { toHTML } = require('../Functions/discord-parser.js');
|
||||
|
||||
const [ desc, setDesc ] = useState("");
|
||||
const user = JSON.parse(localStorage.getItem("user"));
|
||||
|
||||
useEffect(() => {
|
||||
const { toHTML } = require('../Functions/discord-parser.js');
|
||||
|
||||
if (user.description) {
|
||||
setDesc(toHTML(user.description));
|
||||
} else setDesc("(no description)");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue