Browse Source

fix: corrected text area's style

develop
Ezerous 4 years ago
parent
commit
24001b9f2d
  1. 4
      packages/concordia-app/src/components/PostList/PostListRow/index.jsx

4
packages/concordia-app/src/components/PostList/PostListRow/index.jsx

@ -2,7 +2,7 @@ import React, {
memo, useEffect, useMemo, useState, useCallback,
} from 'react';
import {
Dimmer, Feed, Icon, Placeholder, Ref, TextArea,
Dimmer, Feed, Form, Icon, Placeholder, Ref, TextArea,
} from 'semantic-ui-react';
import PropTypes from 'prop-types';
import { useTranslation } from 'react-i18next';
@ -184,10 +184,12 @@ const PostListRow = (props) => {
);
}
return (
<Form>
<TextArea
value={editedPostContent}
onChange={handleInputChange}
/>
</Form>
);
}
return (<Placeholder><Placeholder.Line length="long" /></Placeholder>);

Loading…
Cancel
Save