Skip to content

Commit

Permalink
Fixed wrong export for useIsMounted hook (#883)
Browse files Browse the repository at this point in the history
  • Loading branch information
souyahia-monk authored Nov 19, 2024
1 parent 01b4264 commit 7cf4d8e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions packages/common/src/apps/appStateProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,12 @@ import React, {
useMemo,
useState,
} from 'react';
import { useLoadingState, useObjectMemo } from '../hooks';
import { useLoadingState, useObjectMemo, useIsMounted } from '../hooks';
import { MonkSearchParam, useMonkSearchParams } from './searchParams';
import { MonkAppState, MonkAppStateContext } from './appState';
import { useAppStateMonitoring } from './monitoring';
import { useAppStateAnalytics } from './analytics';
import { getAvailableVehicleTypes } from '../utils';
import { useIsMounted } from '../hooks/useIsMounted';

/**
* Local storage key used within Monk web applications to store the authentication token.
Expand Down
1 change: 1 addition & 0 deletions packages/common/src/hooks/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ export * from './useInterval';
export * from './useAsyncInterval';
export * from './useObjectMemo';
export * from './useForm';
export * from './useIsMounted';

0 comments on commit 7cf4d8e

Please sign in to comment.