feat: nip05 feeds
This commit is contained in:
parent
e08172f4a7
commit
5619905ae0
28 changed files with 395 additions and 165 deletions
|
|
@ -2,6 +2,22 @@ import dayjs from 'dayjs'
|
|||
import { useTranslation } from 'react-i18next'
|
||||
|
||||
export function FormattedTimestamp({
|
||||
timestamp,
|
||||
short = false,
|
||||
className
|
||||
}: {
|
||||
timestamp: number
|
||||
short?: boolean
|
||||
className?: string
|
||||
}) {
|
||||
return (
|
||||
<span className={className}>
|
||||
<FormattedTimestampContent timestamp={timestamp} short={short} />
|
||||
</span>
|
||||
)
|
||||
}
|
||||
|
||||
function FormattedTimestampContent({
|
||||
timestamp,
|
||||
short = false
|
||||
}: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue