Feed feedback and fixes #231
@ -109,8 +109,6 @@ export const Note = ({ ndkEvent }: NoteProps) => {
|
|||||||
|
|
||||||
const baseUrl = appRoutes.feed + '/'
|
const baseUrl = appRoutes.feed + '/'
|
||||||
|
|
||||||
// Did user already repost this
|
|
||||||
|
|
||||||
// Show who reposted the note
|
// Show who reposted the note
|
||||||
const reposterVisual =
|
const reposterVisual =
|
||||||
repostEvent && reposterRoute ? (
|
repostEvent && reposterRoute ? (
|
||||||
@ -178,12 +176,18 @@ export const Note = ({ ndkEvent }: NoteProps) => {
|
|||||||
</div>
|
</div>
|
||||||
{noteEvent.created_at && (
|
{noteEvent.created_at && (
|
||||||
<div className='IBMSMSMBSSCL_CommentActionsDetails'>
|
<div className='IBMSMSMBSSCL_CommentActionsDetails'>
|
||||||
<a className='IBMSMSMBSSCL_CADTime'>
|
<Link
|
||||||
|
to={baseUrl + noteEvent.encode()}
|
||||||
|
className='IBMSMSMBSSCL_CADTime'
|
||||||
|
>
|
||||||
{formatDate(noteEvent.created_at * 1000, 'hh:mm aa')}{' '}
|
{formatDate(noteEvent.created_at * 1000, 'hh:mm aa')}{' '}
|
||||||
</a>
|
</Link>
|
||||||
<a className='IBMSMSMBSSCL_CADDate'>
|
<Link
|
||||||
|
to={baseUrl + noteEvent.encode()}
|
||||||
|
className='IBMSMSMBSSCL_CADDate'
|
||||||
|
>
|
||||||
{formatDate(noteEvent.created_at * 1000, 'dd/MM/yyyy')}
|
{formatDate(noteEvent.created_at * 1000, 'dd/MM/yyyy')}
|
||||||
</a>
|
</Link>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
@ -32,6 +32,8 @@ export const NoteWrapper = ({ noteEntity }: NoteWrapperProps) => {
|
|||||||
|
|
||||||
if (!note) return <Dots />
|
if (!note) return <Dots />
|
||||||
|
|
||||||
|
const baseUrl = appRoutes.feed + '/'
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className='IBMSMSMBSSCL_CommentQP'>
|
<div className='IBMSMSMBSSCL_CommentQP'>
|
||||||
<div className='IBMSMSMBSSCL_Comment'>
|
<div className='IBMSMSMBSSCL_Comment'>
|
||||||
@ -58,12 +60,18 @@ export const NoteWrapper = ({ noteEntity }: NoteWrapperProps) => {
|
|||||||
</div>
|
</div>
|
||||||
{note.created_at && (
|
{note.created_at && (
|
||||||
<div className='IBMSMSMBSSCL_CommentActionsDetails'>
|
<div className='IBMSMSMBSSCL_CommentActionsDetails'>
|
||||||
<a className='IBMSMSMBSSCL_CADTime'>
|
<Link
|
||||||
|
to={baseUrl + noteEntity}
|
||||||
|
className='IBMSMSMBSSCL_CADTime'
|
||||||
|
>
|
||||||
{formatDate(note.created_at * 1000, 'hh:mm aa')}{' '}
|
{formatDate(note.created_at * 1000, 'hh:mm aa')}{' '}
|
||||||
</a>
|
</Link>
|
||||||
<a className='IBMSMSMBSSCL_CADDate'>
|
<Link
|
||||||
|
to={baseUrl + noteEntity}
|
||||||
|
className='IBMSMSMBSSCL_CADDate'
|
||||||
|
>
|
||||||
{formatDate(note.created_at * 1000, 'dd/MM/yyyy')}
|
{formatDate(note.created_at * 1000, 'dd/MM/yyyy')}
|
||||||
</a>
|
</Link>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user