Add createdAt to territory header
This commit is contained in:
parent
c0ffbc401a
commit
3cd80a54f6
|
@ -43,6 +43,8 @@ export function TerritoryInfo ({ sub }) {
|
|||
<Link href={`/${sub.user.name}`}>
|
||||
@{sub.user.name}<span> </span><Hat className='fill-grey' user={sub.user} height={12} width={12} />
|
||||
</Link>
|
||||
<span>on </span>
|
||||
<span className='fw-bold'>{new Date(sub.createdAt).toDateString()}</span>
|
||||
</div>
|
||||
<div className='text-muted'>
|
||||
<span>post cost </span>
|
||||
|
|
|
@ -5,6 +5,7 @@ import { COMMENTS_ITEM_EXT_FIELDS } from './comments'
|
|||
export const SUB_FIELDS = gql`
|
||||
fragment SubFields on Sub {
|
||||
name
|
||||
createdAt
|
||||
postTypes
|
||||
allowFreebies
|
||||
rankingType
|
||||
|
|
Loading…
Reference in New Issue