Skip to content

Commit

Permalink
fix: remove prod only condition
Browse files Browse the repository at this point in the history
  • Loading branch information
jainpawan21 committed Apr 12, 2024
1 parent d1c7fc8 commit d0de31e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions apps/web/src/pages/quick-start/steps/GetStarted.tsx
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@ import { GetStartedLayout } from '../components/layout/GetStartedLayout';
import { NavButton } from '../components/NavButton';
import { getStartedSteps, OnBoardingAnalyticsEnum } from '../consts';
import { OnboardingExperimentModal } from '../components/OnboardingExperimentModal';
import { ENV, IS_DOCKER_HOSTED, useAuthContext } from '@novu/shared-web';
import { useAuthContext } from '@novu/shared-web';
import { OnboardingExperimentV2ModalKey } from '../../../constants/experimentsConstants';

const ChannelsConfigurationHolder = styled.div`
@@ -34,9 +34,7 @@ export function GetStarted() {
channelType?: ChannelTypeEnum;
}>({ open: false });

const isNovuProd = !IS_DOCKER_HOSTED && ENV === 'production';
// open modal only for prod users
const isOnboardingModalEnabled = isNovuProd && localStorage.getItem(OnboardingExperimentV2ModalKey) === 'true';
const isOnboardingModalEnabled = localStorage.getItem(OnboardingExperimentV2ModalKey) === 'true';

const onIntegrationModalClose = () => setClickedChannel({ open: false });

0 comments on commit d0de31e

Please sign in to comment.