|
@ -2,7 +2,8 @@ import React, { |
|
|
memo, useEffect, useMemo, useState, useCallback, |
|
|
memo, useEffect, useMemo, useState, useCallback, |
|
|
} from 'react'; |
|
|
} from 'react'; |
|
|
import { |
|
|
import { |
|
|
Dimmer, Feed, Placeholder, Ref, |
|
|
Button, |
|
|
|
|
|
Dimmer, Feed, Placeholder, Ref, |
|
|
} 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'; |
|
@ -138,6 +139,11 @@ const PostListRow = (props) => { |
|
|
? postContent |
|
|
? postContent |
|
|
: <Placeholder><Placeholder.Line length="long" /></Placeholder>} |
|
|
: <Placeholder><Placeholder.Line length="long" /></Placeholder>} |
|
|
</Feed.Extra> |
|
|
</Feed.Extra> |
|
|
|
|
|
<div className="post-voting"> |
|
|
|
|
|
<Button size="mini" compact negative icon="arrow down"/> |
|
|
|
|
|
<span> 0 </span> |
|
|
|
|
|
<Button size="mini" compact positive icon="arrow up"/> |
|
|
|
|
|
</div> |
|
|
</Feed.Content> |
|
|
</Feed.Content> |
|
|
</Dimmer.Dimmable> |
|
|
</Dimmer.Dimmable> |
|
|
), [focusRef, loading, postAuthor, postAuthorAddress, postAuthorMeta, postContent, postId, postIndex, t, timeAgo, |
|
|
), [focusRef, loading, postAuthor, postAuthorAddress, postAuthorMeta, postContent, postId, postIndex, t, timeAgo, |
|
|