mirror of
https://github.com/wassname/talk.git
synced 2026-09-11 12:51:33 +08:00
merge conflicts
This commit is contained in:
@@ -6,24 +6,8 @@ import { PropTypesOf } from "talk-framework/types";
|
||||
import Comment from "./Comment";
|
||||
|
||||
it("renders username and body", () => {
|
||||
<<<<<<< HEAD:src/core/client/stream/components/Comment.spec.tsx
|
||||
const props = {
|
||||
id: "id",
|
||||
author: {
|
||||
username: "Marvin",
|
||||
},
|
||||
body: "Woof",
|
||||
};
|
||||
const wrapper = shallow(<Comment {...props} />);
|
||||
expect(wrapper).toMatchSnapshot();
|
||||
});
|
||||
|
||||
it("renders with gutterBottom", () => {
|
||||
const props = {
|
||||
id: "id",
|
||||
=======
|
||||
const props: PropTypesOf<typeof Comment> = {
|
||||
>>>>>>> abfa39529ff398007bb67cd814c4217a97bdb38b:src/core/client/stream/components/Comment/Comment.spec.tsx
|
||||
id: "comment-ID",
|
||||
author: {
|
||||
username: "Marvin",
|
||||
},
|
||||
|
||||
@@ -55,11 +55,11 @@ class PermalinkPopover extends React.Component<InnerProps> {
|
||||
<CopyToClipboard text={commentId} onCopy={this.onCopy}>
|
||||
<Button primary>
|
||||
{copied ? (
|
||||
<L id="copied">
|
||||
<L id="comments-permalink-copied">
|
||||
<span>Copied!</span>
|
||||
</L>
|
||||
) : (
|
||||
<L id="copy">
|
||||
<L id="comments-permalink-copy">
|
||||
<span>Copy</span>
|
||||
</L>
|
||||
)}
|
||||
@@ -70,7 +70,7 @@ class PermalinkPopover extends React.Component<InnerProps> {
|
||||
}
|
||||
>
|
||||
<button className={styles.shareButton} onClick={this.onClick}>
|
||||
<L id="share">
|
||||
<L id="comments-permalink-share">
|
||||
<span>Share</span>
|
||||
</L>
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user