This commit is contained in:
Shusui MOYATANI
2023-03-12 13:33:35 +09:00
parent 0e62c4d167
commit bec8352746
18 changed files with 382 additions and 267 deletions

View File

@@ -34,6 +34,7 @@ type UseProfile = {
};
const { exec } = useBatchedEvent<UseProfileProps>(() => ({
interval: 2000,
generateKey: ({ pubkey }: UseProfileProps): string => pubkey,
mergeFilters: (args: UseProfileProps[]): Filter[] => {
const pubkeys = args.map((arg) => arg.pubkey);