From abc2d01485b9ef453c1635276384a342e2818100 Mon Sep 17 00:00:00 2001 From: Untone Date: Thu, 29 Feb 2024 18:05:05 +0300 Subject: [PATCH] comments-order-hotfix --- src/components/Views/Author/Author.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/Views/Author/Author.tsx b/src/components/Views/Author/Author.tsx index 0020993b..352d8f6c 100644 --- a/src/components/Views/Author/Author.tsx +++ b/src/components/Views/Author/Author.tsx @@ -25,6 +25,7 @@ import { Loading } from '../../_shared/Loading' import stylesArticle from '../../Article/Article.module.scss' import styles from './Author.module.scss' +import {byCreated} from "../../../utils/sortby"; type Props = { shouts: Shout[] @@ -231,7 +232,7 @@ export const AuthorView = (props: Props) => {
    - + {(comment) => }