diff --git a/src/components/CommentDesign/Comments/index.js b/src/components/CommentDesign/Comments/index.js index c092c5d..dd5da87 100644 --- a/src/components/CommentDesign/Comments/index.js +++ b/src/components/CommentDesign/Comments/index.js @@ -10,16 +10,13 @@ export const Comments = ({ comments }) => { // connectToParent(comments); const Comment = ({ comment }) => { return ( -
+
- {comment.username} -
+ {comment.username} +
{comment.product?.color} @@ -29,10 +26,7 @@ export const Comments = ({ comments }) => {
-
+
{moment(comment.data).locale("fa").format("YYYY/MM/DD")} @@ -42,7 +36,7 @@ export const Comments = ({ comments }) => {
-
+
Stars
diff --git a/src/redux/data.js b/src/redux/data.js index 8764a40..6adf2cb 100644 --- a/src/redux/data.js +++ b/src/redux/data.js @@ -9,11 +9,11 @@ import Blog from "../components/Blog"; import CardTrelloDesign from "../components/CardTrelloDesign"; import ChartDesign from "../components/ChartDesign"; import ProgressBar from "../components/ProgressBar"; +import Checkbox from "../components/Checkbox"; +import CommentDesign from "../components/CommentDesign"; // mini components import MiniComponents from "../components/MiniComponents"; -import Checkbox from "../components/Checkbox"; -import CommentDesign from "../components/CommentDesign"; // import ButtonDesign from "./components/buttonDesign/ButtonDesign"; // import ProductDesign from "./components/productDesign/ProductDesign";