forked from Kieran/zap.stream
fix: remove wrong type annotation
This commit is contained in:
parent
236a9ffbfb
commit
1d04a4dbab
@ -9,7 +9,7 @@ import { WEEK } from "const";
|
||||
import { System } from "index";
|
||||
import type { Badge } from "types";
|
||||
|
||||
export function useBadges(pubkey: string, leaveOpen = true): Array<Badge> {
|
||||
export function useBadges(pubkey: string, leaveOpen = true) {
|
||||
const since = useMemo(() => unixNow() - WEEK, [pubkey]);
|
||||
const rb = useMemo(() => {
|
||||
const rb = new RequestBuilder(`badges:${pubkey.slice(0, 12)}`);
|
||||
|
Loading…
Reference in New Issue
Block a user