Skip to content

Commit

Permalink
feat: release chat box for all users (#564)
Browse files Browse the repository at this point in the history
  • Loading branch information
simenandre committed Jun 21, 2023
1 parent eb374f2 commit 0784e5d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/header.svelte
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<script lang="ts">
import { isEnabled } from '../toggles';
import Logo from './logo.svelte';
if (typeof window !== 'undefined' && isEnabled('chat')) {
if (typeof window !== 'undefined') {
const BASE_URL = 'https://app.chatwoot.com';
const g = document.createElement('script');
const s = document.getElementsByTagName('script')[0];
Expand Down

0 comments on commit 0784e5d

Please sign in to comment.