Skip to content

Commit 7cf4d8e

Browse files
Fixed wrong export for useIsMounted hook (#883)
1 parent 01b4264 commit 7cf4d8e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/common/src/apps/appStateProvider.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,12 @@ import React, {
88
useMemo,
99
useState,
1010
} from 'react';
11-
import { useLoadingState, useObjectMemo } from '../hooks';
11+
import { useLoadingState, useObjectMemo, useIsMounted } from '../hooks';
1212
import { MonkSearchParam, useMonkSearchParams } from './searchParams';
1313
import { MonkAppState, MonkAppStateContext } from './appState';
1414
import { useAppStateMonitoring } from './monitoring';
1515
import { useAppStateAnalytics } from './analytics';
1616
import { getAvailableVehicleTypes } from '../utils';
17-
import { useIsMounted } from '../hooks/useIsMounted';
1817

1918
/**
2019
* Local storage key used within Monk web applications to store the authentication token.

packages/common/src/hooks/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@ export * from './useInterval';
1111
export * from './useAsyncInterval';
1212
export * from './useObjectMemo';
1313
export * from './useForm';
14+
export * from './useIsMounted';

0 commit comments

Comments
 (0)