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

Loading…
Cancel
Save