Init SnortDeck
This commit is contained in:
10
packages/app/src/Element/Deck/Articles.tsx
Normal file
10
packages/app/src/Element/Deck/Articles.tsx
Normal file
@ -0,0 +1,10 @@
|
||||
import { useArticles } from "Feed/ArticlesFeed";
|
||||
import { orderDescending } from "SnortUtils";
|
||||
import Note from "../Note";
|
||||
|
||||
export default function Articles() {
|
||||
const data = useArticles();
|
||||
return <>
|
||||
{orderDescending(data.data ?? []).map(a => <Note data={a} key={a.id} related={[]} />)}
|
||||
</>
|
||||
}
|
Reference in New Issue
Block a user