From f5784534d60cf64af3fbcd97a7538cbf7b9103e8 Mon Sep 17 00:00:00 2001 From: Kieran Date: Mon, 27 Nov 2023 17:11:17 +0000 Subject: [PATCH] chore: formatting --- index.html | 36 +++++++++++++++++------------------- src/element/trending.tsx | 6 +++++- 2 files changed, 22 insertions(+), 20 deletions(-) diff --git a/index.html b/index.html index 592cbe9..846fefc 100644 --- a/index.html +++ b/index.html @@ -1,22 +1,20 @@ + + + + + + + + + + + DTAN.XYZ + - - - - - - - - - - - DTAN.XYZ - - - -
- - - - \ No newline at end of file + +
+ + + diff --git a/src/element/trending.tsx b/src/element/trending.tsx index 41dde3b..613f233 100644 --- a/src/element/trending.tsx +++ b/src/element/trending.tsx @@ -5,7 +5,11 @@ import { TorrentList } from "./torrent-list"; export function LatestTorrents({ author }: { author?: string }) { const sub = new RequestBuilder(`torrents:latest:${author}`); - sub.withFilter().kinds([TorrentKind]).authors(author ? [author] : undefined).limit(100); + sub + .withFilter() + .kinds([TorrentKind]) + .authors(author ? [author] : undefined) + .limit(100); const latest = useRequestBuilder(NoteCollection, sub);