Skip to content

Commit

Permalink
FIx another batch of invalid imports
Browse files Browse the repository at this point in the history
  • Loading branch information
tassoevan committed Jul 23, 2024
1 parent c3c4aa6 commit 91a8574
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions apps/meteor/client/providers/RouterProvider.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import type { RoomType, RoomRouteData } from '@rocket.chat/core-typings';
import { RouterContext } from '@rocket.chat/ui-contexts';
import type {
RouterContextValue,
RouteName,
Expand All @@ -7,9 +8,8 @@ import type {
SearchParameters,
To,
RouteObject,
LocationSearch,
} from '@rocket.chat/ui-contexts';
import { RouterContext } from '@rocket.chat/ui-contexts';
import type { LocationSearch } from '@rocket.chat/ui-contexts/src/RouterContext';
import { FlowRouter } from 'meteor/kadira:flow-router';
import { Tracker } from 'meteor/tracker';
import type { ReactNode } from 'react';
Expand Down
2 changes: 1 addition & 1 deletion packages/ui-contexts/src/hooks/useUserSubscriptions.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import type { SubscriptionWithRoom } from '@rocket.chat/ui-contexts/src/types/SubscriptionWithRoom';
import { useContext, useMemo } from 'react';
import { useSyncExternalStore } from 'use-sync-external-store/shim';

import type { FindOptions, SubscriptionQuery } from '../UserContext';
import { UserContext } from '../UserContext';
import type { SubscriptionWithRoom } from '../types/SubscriptionWithRoom';

export const useUserSubscriptions = (query: SubscriptionQuery, options?: FindOptions): SubscriptionWithRoom[] => {
const { querySubscriptions } = useContext(UserContext);
Expand Down

0 comments on commit 91a8574

Please sign in to comment.