Fixed components build.

This commit is contained in:
Mike Cao 2024-08-08 16:22:24 -07:00
parent 4703ba61ad
commit 10c438d1de
3 changed files with 14 additions and 14 deletions

View file

@ -1,7 +1,7 @@
import { RealtimeData } from 'lib/types';
import { useApi } from './useApi';
import { REALTIME_INTERVAL } from 'lib/constants';
import { useTimezone } from 'components/hooks';
import { useTimezone } from '../useTimezone';
export function useRealtime(websiteId: string) {
const { get, useQuery } = useApi();

View file

@ -1,7 +1,7 @@
import useApi from './useApi';
import { UseQueryOptions } from '@tanstack/react-query';
import { useFilterParams } from '../useFilterParams';
import { usePagedQuery } from 'components/hooks';
import { usePagedQuery } from './usePagedQuery';
export function useWebsiteEvents(
websiteId: string,