mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-09 07:17:56 +00:00
Tweak system editing
This commit is contained in:
parent
806c7857f5
commit
759c14c6db
4 changed files with 9 additions and 8 deletions
|
|
@ -4,6 +4,7 @@ import { useForm } from "react-hook-form";
|
|||
import moment from 'moment';
|
||||
import Popup from 'reactjs-popup';
|
||||
import 'reactjs-popup/dist/index.css';
|
||||
import autosize from 'autosize';
|
||||
|
||||
import API_URL from "../Constants/constants.js";
|
||||
|
||||
|
|
@ -57,6 +58,10 @@ export default function MemberCard(props) {
|
|||
handleSubmit: handleSubmitProxy,
|
||||
} = useForm();
|
||||
|
||||
useEffect(() => {
|
||||
autosize(document.querySelector('textarea'));
|
||||
})
|
||||
|
||||
useEffect(() => {
|
||||
const { toHTML } = require('../Functions/discord-parser.js');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue