Skip to content

Commit

Permalink
fix: removed app id
Browse files Browse the repository at this point in the history
  • Loading branch information
BiswaViraj committed Aug 3, 2023
1 parent 4cc5cb5 commit c35636b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apps/web/src/components/layout/components/HeaderNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export function HeaderNav({ isIntercomOpened }: Props) {
const dark = colorScheme === 'dark';
const { addItem, removeItems } = useSpotlightContext();
const { boot } = useIntercom();
const isSelfHosted = !IS_DOCKER_HOSTED;
const isSelfHosted = IS_DOCKER_HOSTED;

useEffect(() => {
const shouldBootIntercom = !!INTERCOM_APP_ID && currentUser && currentOrganization;
Expand Down
3 changes: 1 addition & 2 deletions apps/web/src/config/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ export const WIDGET_EMBED_PATH =
export const IS_DOCKER_HOSTED =
window._env_.REACT_APP_DOCKER_HOSTED_ENV === 'true' || process.env.REACT_APP_DOCKER_HOSTED_ENV === 'true';

export const INTERCOM_APP_ID =
window._env_.REACT_APP_INTERCOM_APP_ID || process.env.REACT_APP_INTERCOM_APP_ID || 'iczjcs64';
export const INTERCOM_APP_ID = window._env_.REACT_APP_INTERCOM_APP_ID || process.env.REACT_APP_INTERCOM_APP_ID;

export const CONTEXT_PATH = getContextPath(NovuComponentEnum.WEB);

Expand Down

0 comments on commit c35636b

Please sign in to comment.