|
@ -2,6 +2,7 @@ import React, { |
|
|
memo, useEffect, useMemo, useState, useCallback, |
|
|
memo, useEffect, useMemo, useState, useCallback, |
|
|
} from 'react'; |
|
|
} from 'react'; |
|
|
import { |
|
|
import { |
|
|
|
|
|
Button, |
|
|
Dimmer, Feed, Placeholder, Ref, |
|
|
Dimmer, Feed, Placeholder, Ref, |
|
|
} from 'semantic-ui-react'; |
|
|
} from 'semantic-ui-react'; |
|
|
import PropTypes from 'prop-types'; |
|
|
import PropTypes from 'prop-types'; |
|
@ -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, |
|
|