(cursor: number)
| 99 | } |
| 100 | |
| 101 | export function useEventsSince(cursor: number) { |
| 102 | return useQuery({ |
| 103 | queryKey: queryKeys.eventsSince(cursor), |
| 104 | queryFn: () => api.getEventsSince(cursor), |
| 105 | enabled: cursor > 0, |
| 106 | }); |
| 107 | } |
| 108 | |
| 109 | // Insights |
| 110 | export function useInsights() { |
nothing calls this directly
no test coverage detected