Skip to content

Commit

Permalink
fix(cypress): revert not needed change
Browse files Browse the repository at this point in the history
  • Loading branch information
p-fernandez committed Nov 9, 2022
1 parent 37a41bb commit a0dada2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/web/src/components/layout/AppLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ export function AppLayout() {
}

function SupportChatProvider({ children }) {
if (!INTERCOM_APP_ID) {
return children;
if (INTERCOM_APP_ID) {
return <IntercomProvider appId={INTERCOM_APP_ID}>{children}</IntercomProvider>;
}

return <IntercomProvider appId={INTERCOM_APP_ID}>{children}</IntercomProvider>;
return children;
}

0 comments on commit a0dada2

Please sign in to comment.