mirror of
https://github.com/plankanban/planka.git
synced 2025-08-09 23:45:31 +02:00
Remove 'as' props
This commit is contained in:
parent
c38ac91acd
commit
3989901858
1 changed files with 0 additions and 2 deletions
|
@ -1,7 +1,6 @@
|
||||||
import React, { useCallback, useImperativeHandle, useState, useMemo } from 'react';
|
import React, { useCallback, useImperativeHandle, useState, useMemo } from 'react';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import { useTranslation } from 'react-i18next';
|
import { useTranslation } from 'react-i18next';
|
||||||
import TextareaAutosize from 'react-textarea-autosize';
|
|
||||||
import { Button, Form } from 'semantic-ui-react';
|
import { Button, Form } from 'semantic-ui-react';
|
||||||
import SimpleMDE from 'react-simplemde-editor';
|
import SimpleMDE from 'react-simplemde-editor';
|
||||||
|
|
||||||
|
@ -77,7 +76,6 @@ const DescriptionEdit = React.forwardRef(({ children, defaultValue, onUpdate },
|
||||||
return (
|
return (
|
||||||
<Form onSubmit={handleSubmit}>
|
<Form onSubmit={handleSubmit}>
|
||||||
<SimpleMDE
|
<SimpleMDE
|
||||||
as={TextareaAutosize}
|
|
||||||
value={value}
|
value={value}
|
||||||
placeholder={t('common.enterDescription')}
|
placeholder={t('common.enterDescription')}
|
||||||
className={styles.field}
|
className={styles.field}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue