Skip to content

Commit

Permalink
comment component stories changes
Browse files Browse the repository at this point in the history
  • Loading branch information
g-stamatis committed Jan 21, 2022
1 parent f1338d5 commit f1c5e75
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/customizations/components/theme/Comment/Comment.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import React from 'react';
import { Comment, Header } from 'semantic-ui-react';
import CommentStories from './Comment.stories';
// "../../../../../../../../.storybook/assets/eea_icon.png"
function CommentEEA({ title, comments, threaded, minimal, size }) {
return (
Expand All @@ -9,7 +8,7 @@ function CommentEEA({ title, comments, threaded, minimal, size }) {

{comments.map((comment, comIndex) => (
<Comment key={comIndex}>
<Comment.Avatar src={comment.src}/>
<Comment.Avatar src={comment.src} alt="user avatar" />
<Comment.Content>
<Comment.Author as="a">{comment.author}</Comment.Author>
<Comment.Metadata>
Expand All @@ -23,7 +22,7 @@ function CommentEEA({ title, comments, threaded, minimal, size }) {
<Comment.Group>
{comment.replies.map((reply, repIndex) => (
<Comment key={repIndex}>
<Comment.Avatar src={comment.src} />
<Comment.Avatar src={comment.src} alt="user avatar" />
<Comment.Content>
<Comment.Author as="a">{reply.author}</Comment.Author>
<Comment.Metadata>
Expand Down

0 comments on commit f1c5e75

Please sign in to comment.