Skip to content

Commit 82b139c

Browse files
committed
fixes
1 parent a95756c commit 82b139c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

static/app/views/insights/common/utils/useEap.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import {defined} from 'sentry/utils';
2+
import {useLocalStorageState} from 'sentry/utils/useLocalStorageState';
23
import {useLocation} from 'sentry/utils/useLocation';
34
import useOrganization from 'sentry/utils/useOrganization';
4-
import {useSyncedLocalStorageState} from 'sentry/utils/useSyncedLocalStorageState';
55
import {
66
BACKEND_LANDING_SUB_PATH,
77
USE_NEW_BACKEND_EXPERIENCE,
@@ -13,7 +13,7 @@ export const useInsightsEap = (): boolean => {
1313
const location = useLocation();
1414
const {isInOverviewPage, view} = useDomainViewFilters();
1515
const hasEapFlag = organization.features.includes('insights-modules-use-eap');
16-
const [isNewBackendExperienceEnabled] = useSyncedLocalStorageState(
16+
const [isNewBackendExperienceEnabled] = useLocalStorageState(
1717
USE_NEW_BACKEND_EXPERIENCE,
1818
true
1919
);

0 commit comments

Comments
 (0)