feat: badges #58

Merged
Kieran merged 6 commits from badges into home 2023-08-01 09:17:17 +00:00
Showing only changes of commit f273f1d8b4 - Show all commits

View File

@ -7,7 +7,6 @@ import { unixNow } from "@snort/shared";
import { findTag, toAddress, getTagValues } from "utils";
import { WEEK } from "const";
import { System } from "index";
import type { Badge } from "types";
export function useBadges(pubkey: string, leaveOpen = true) {
const since = useMemo(() => unixNow() - WEEK, [pubkey]);