Skip to content

Commit

Permalink
chore(react-video-demo): put back gleap (#1015)
Browse files Browse the repository at this point in the history
- update tour text
  • Loading branch information
zwaardje authored Aug 29, 2023
1 parent 396c7e4 commit 2577bd6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sample-apps/react/react-video-demo/data/tour.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export const tour = [
},
{
header: 'Try It On Your Phone',
explanation: 'Invite a friend by sending them this URL.',
explanation:
'Scan the QR code or invite a friend by sending them this URL.',
},
];
6 changes: 6 additions & 0 deletions sample-apps/react/react-video-demo/src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ import App from './App';

import * as Sentry from '@sentry/react';

import Gleap from 'gleap';

import './index.css';
import TagManager from 'react-gtm-module';

Expand Down Expand Up @@ -34,6 +36,10 @@ if (
});
}

if (import.meta.env.MODE === 'staging') {
Gleap.initialize(import.meta.env.VITE_GLEAP_KEY);
}

ReactDOM.createRoot(
document.getElementById('video-demo') as HTMLElement,
).render(<App />);

0 comments on commit 2577bd6

Please sign in to comment.