mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
update shortAddress in pending view
This commit is contained in:
@@ -8,7 +8,7 @@ import { useAccount, useAccountComments, useFeed, usePublishComment, usePublishC
|
||||
import { flattenCommentsPages } from '@plebbit/plebbit-react-hooks/dist/lib/utils'
|
||||
import { debounce } from 'lodash';
|
||||
import useGeneralStore from '../../hooks/stores/useGeneralStore';
|
||||
import { Container, NavBar, Header, Break, PostFormLink, PostFormTable, PostForm, TopBar, BoardForm, PostMenu} from '../styled/views/Board.styled';
|
||||
import { Container, NavBar, Header, Break, PostFormLink, PostFormTable, PostForm, TopBar, BoardForm, PostMenu } from '../styled/views/Board.styled';
|
||||
import { Footer, AuthorDeleteAlert } from '../styled/views/Thread.styled';
|
||||
import EditModal from '../modals/EditModal';
|
||||
import ImageBanner from '../ImageBanner';
|
||||
|
||||
@@ -285,14 +285,7 @@ const Pending = () => {
|
||||
|
||||
|
||||
<span className="poster-address">
|
||||
(u/
|
||||
<span key={`pa-${"pending"}`} className="poster-address"
|
||||
data-tooltip-id="tooltip"
|
||||
data-tooltip-content={account?.author?.address}
|
||||
data-tooltip-place="top"
|
||||
>
|
||||
{account?.author?.address.slice(0, 10) + "(...)"}
|
||||
</span>)
|
||||
(u/{account.author.shortAddress})
|
||||
</span>
|
||||
|
||||
<span className="date-time" data-utc="data">{getDate(comment?.timestamp)}</span>
|
||||
@@ -333,15 +326,7 @@ const Pending = () => {
|
||||
Anonymous</span>}
|
||||
|
||||
<span key={`mob-pa-${"pending"}`} className="poster-address-mobile">
|
||||
(u/
|
||||
<span key={`mob-ha-${"pending"}`} className="poster-address-mobile"
|
||||
data-tooltip-id="tooltip"
|
||||
data-tooltip-content={account?.author?.address}
|
||||
data-tooltip-place="top"
|
||||
>
|
||||
{account?.author?.address.slice(0, 10) + "(...)"}
|
||||
</span>
|
||||
)
|
||||
(u/{account.author.shortAddress})
|
||||
</span>
|
||||
<br key={`mob-br1-${"pending"}`} />
|
||||
{comment.title ? (
|
||||
|
||||
Reference in New Issue
Block a user