mirror of
https://github.com/wassname/talk.git
synced 2026-07-27 11:28:12 +08:00
Deleting Reference to FakeComment
This commit is contained in:
@@ -6,10 +6,6 @@
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.body {
|
||||
|
||||
}
|
||||
|
||||
.footer {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
@@ -35,3 +31,8 @@
|
||||
padding: 0 2px 0 5px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.authorName {
|
||||
margin-right: 5px;
|
||||
font-weight: bold;
|
||||
}
|
||||
@@ -2,13 +2,14 @@ import React from 'react';
|
||||
import t from 'coral-framework/services/i18n';
|
||||
import {ReplyButton} from 'talk-plugin-replies';
|
||||
import PubDate from 'talk-plugin-pubdate/PubDate';
|
||||
import AuthorName from 'talk-plugin-author-name/AuthorName';
|
||||
import styles from './FakeComment.css';
|
||||
import {Icon} from 'plugin-api/beta/client/components/ui';
|
||||
|
||||
export const FakeComment = ({username, created_at, body}) => (
|
||||
<div className={styles.root}>
|
||||
<AuthorName author={{username}} />
|
||||
<span className={styles.authorName}>
|
||||
{username}
|
||||
</span>;
|
||||
<PubDate created_at={created_at} />
|
||||
<div className={styles.body}>
|
||||
{body}
|
||||
|
||||
Reference in New Issue
Block a user