File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
static/app/views/insights/common/utils Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
import { defined } from 'sentry/utils' ;
2
+ import { useLocalStorageState } from 'sentry/utils/useLocalStorageState' ;
2
3
import { useLocation } from 'sentry/utils/useLocation' ;
3
4
import useOrganization from 'sentry/utils/useOrganization' ;
4
- import { useSyncedLocalStorageState } from 'sentry/utils/useSyncedLocalStorageState' ;
5
5
import {
6
6
BACKEND_LANDING_SUB_PATH ,
7
7
USE_NEW_BACKEND_EXPERIENCE ,
@@ -13,7 +13,7 @@ export const useInsightsEap = (): boolean => {
13
13
const location = useLocation ( ) ;
14
14
const { isInOverviewPage, view} = useDomainViewFilters ( ) ;
15
15
const hasEapFlag = organization . features . includes ( 'insights-modules-use-eap' ) ;
16
- const [ isNewBackendExperienceEnabled ] = useSyncedLocalStorageState (
16
+ const [ isNewBackendExperienceEnabled ] = useLocalStorageState (
17
17
USE_NEW_BACKEND_EXPERIENCE ,
18
18
true
19
19
) ;
You can’t perform that action at this time.
0 commit comments