summaryrefslogtreecommitdiffstats
path: root/ui/src/components/post-listing.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'ui/src/components/post-listing.tsx')
-rw-r--r--ui/src/components/post-listing.tsx7
1 files changed, 1 insertions, 6 deletions
diff --git a/ui/src/components/post-listing.tsx b/ui/src/components/post-listing.tsx
index 92a2f9cb..fa2a078e 100644
--- a/ui/src/components/post-listing.tsx
+++ b/ui/src/components/post-listing.tsx
@@ -33,10 +33,8 @@ import {
setupTippy,
hostname,
previewLines,
- isCakeDay,
} from '../utils';
import { i18n } from '../i18next';
-import { CakeDay } from './cake-day';
interface PostListingState {
showEdit: boolean;
@@ -436,13 +434,10 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
id: post.creator_id,
local: post.creator_local,
actor_id: post.creator_actor_id,
+ published: post.creator_published,
}}
/>
- {isCakeDay(post.creator_published) && (
- <CakeDay creator_name={post.creator_name} is_post_creator />
- )}
-
{this.isMod && (
<span className="mx-1 badge badge-light">
{i18n.t('mod')}