summaryrefslogtreecommitdiffstats
path: root/ui/src/components/post-listing.tsx
diff options
context:
space:
mode:
authorDessalines <tyhou13@gmx.com>2020-07-09 19:59:02 -0400
committerDessalines <tyhou13@gmx.com>2020-07-09 19:59:02 -0400
commitd222c60cef289b57f0ce350e9f24ce2df4792ef5 (patch)
treec2ddf596c3c26f8e42ada8b537473bd7322d7074 /ui/src/components/post-listing.tsx
parent7c35fc546bb148047087db6ed95b1579bab08238 (diff)
A few cake day fixes. #916
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')}