Skip to content

Commit

Permalink
Merge pull request #174 from dappforce/improvement/comments
Browse files Browse the repository at this point in the history
Change OP tag in comments
  • Loading branch information
olehmell authored Jan 17, 2024
2 parents 1f4e4a8 + 5905b67 commit ddc18f5
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/components/comments/ViewComment.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { CaretDownOutlined, CaretUpOutlined } from '@ant-design/icons'
import { Button } from 'antd'
import { Button, Tag, Tooltip } from 'antd'
import clsx from 'clsx'
import dayjs from 'dayjs'
import Link from 'next/link'
Expand Down Expand Up @@ -127,7 +127,11 @@ export const InnerViewComment: FC<Props> = props => {
owner={owner}
asLink
/>
{isRootPostOwner && <span className='ColorPrimary FontWeightSemibold'>OP</span>}
{isRootPostOwner && (
<Tag color='blue' className='mr-0'>
<Tooltip title='Original Poster'>OP</Tooltip>
</Tag>
)}
</div>
<MutedSpan>&middot;</MutedSpan>
<Link href='/[spaceId]/[slug]' as={commentLink}>
Expand Down

0 comments on commit ddc18f5

Please sign in to comment.