fix: settings

This commit is contained in:
reya
2024-11-06 09:16:22 +07:00
parent 4e279f127d
commit 322e510db2
19 changed files with 473 additions and 573 deletions
@@ -27,7 +27,7 @@ function Screen() {
initialPageParam: 0,
queryFn: async ({ pageParam }: { pageParam: number }) => {
const until = pageParam > 0 ? pageParam.toString() : null;
const res = await commands.getAllRelays(until);
const res = await commands.getAllRelayLists(until);
if (res.status === "ok") {
const data: NostrEvent[] = res.data.map((item) => JSON.parse(item));