mirror of
https://github.com/aljazceru/rabbit.git
synced 2025-12-18 22:44:26 +01:00
update
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { createMemo, type Accessor } from 'solid-js';
|
||||
import { type Event as NostrEvent } from 'nostr-tools/event';
|
||||
import { type Event as NostrEvent } from 'nostr-tools';
|
||||
import { createQuery, useQueryClient, type CreateQueryResult } from '@tanstack/solid-query';
|
||||
|
||||
import useBatchedEvents, { type BatchedEvents } from '@/clients/useBatchedEvents';
|
||||
@@ -19,6 +19,7 @@ export type UseReactions = {
|
||||
};
|
||||
|
||||
const { exec } = useBatchedEvents<UseReactionsProps>(() => ({
|
||||
interval: 5000,
|
||||
generateKey: ({ eventId }) => eventId,
|
||||
mergeFilters: (args) => {
|
||||
const eventIds = args.map((arg) => arg.eventId);
|
||||
|
||||
Reference in New Issue
Block a user