Skip to content

Commit

Permalink
disable intercom in dev
Browse files Browse the repository at this point in the history
  • Loading branch information
macjuul committed Jan 29, 2025
1 parent d7b0593 commit 2daba70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/App/hooks/intercom.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export function useIntercom() {

const isReady = authState !== "unknown" && authState !== "loading";

if (isReady /*&& !import.meta.env.DEV*/) {
if (isReady && !import.meta.env.DEV) {
Intercom({
app_id: import.meta.env.VITE_INTERCOM_APP_ID,
user_id: profile.username || undefined,
Expand Down

0 comments on commit 2daba70

Please sign in to comment.