orderDescending not needed with SortedMap

This commit is contained in:
Martti Malmi
2024-02-02 14:58:03 +02:00
parent cdd814cf73
commit 1fd37a42d2
4 changed files with 3 additions and 8 deletions

View File

@ -1,6 +1,7 @@
import { useEffect } from "react";
import { useInView } from "react-intersection-observer";
import { FormattedMessage } from "react-intl";
import usePageDimensions from "@/Hooks/usePageDimensions";
import { debounce } from "@/Utils";

View File

@ -2,7 +2,6 @@ import { useContext } from "react";
import { useArticles } from "@/Feed/ArticlesFeed";
import { DeckContext } from "@/Pages/DeckLayout";
import { orderDescending } from "@/Utils";
import Note from "../Event/EventComponent";
@ -16,7 +15,7 @@ export default function Articles() {
return (
<>
{orderDescending(data).map(a => (
{data.map(a => (
<Note
data={a}
key={a.id}