forked from tuvn86/webapp-conversation
feat: lint code
This commit is contained in:
parent
2e46f795a4
commit
cfd0c9532f
36 changed files with 226 additions and 210 deletions
|
|
@ -19,6 +19,7 @@ const AutoHeightTextarea = forwardRef(
|
|||
{ value, onChange, placeholder, className, minHeight = 36, maxHeight = 96, autoFocus, controlFocus, onKeyDown, onKeyUp }: IProps,
|
||||
outerRef: any,
|
||||
) => {
|
||||
// eslint-disable-next-line react-hooks/rules-of-hooks
|
||||
const ref = outerRef || useRef<HTMLTextAreaElement>(null)
|
||||
|
||||
const doFocus = () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue