From 06ed1c316b3c327cf91cacd1ea9cc49a822d2987 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Wed, 2 Mar 2022 10:05:12 -0500 Subject: [PATCH] Fixing reverse issue. --- src/shared/components/news.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/shared/components/news.tsx b/src/shared/components/news.tsx index 3ca6c04..837992e 100644 --- a/src/shared/components/news.tsx +++ b/src/shared/components/news.tsx @@ -6,6 +6,7 @@ import { isBrowser } from "../utils"; import { news_md } from "../translations/news"; const title = i18n.t("news"); +const newsReversed = news_md.reverse(); export class News extends Component { constructor(props: any, context: any) { @@ -30,7 +31,7 @@ export class News extends Component {
  • {i18n.t("releases")}
  • - {news_md.reverse().map(v => ( + {newsReversed.map(v => (
  • {v.title}