feat(subplebbit): add feed, posts

This commit is contained in:
plebeius.eth
2024-03-22 15:31:02 +01:00
parent 452c98f58b
commit f1af55edf0
5 changed files with 87 additions and 3 deletions
+2 -2
View File
@@ -5,7 +5,7 @@ import { Trans, useTranslation } from 'react-i18next';
export interface BoardStatsProps {
address: string | undefined;
createdAt: number;
createdAt: number | undefined;
}
const BoardStats = ({ address, createdAt }: BoardStatsProps) => {
@@ -59,7 +59,7 @@ const BoardStats = ({ address, createdAt }: BoardStatsProps) => {
</tr>
<tr>
<td className={styles.lowercase}>
{unixToMMDDYYYY(createdAt)} {t('board_created')}
{createdAt && unixToMMDDYYYY(createdAt)} {t('board_created')}
{' / '}
<Trans
i18nKey='board_stats_all'