Skip to content

Commit

Permalink
feat: safe call on wysiwyg (#520)
Browse files Browse the repository at this point in the history
  • Loading branch information
victorcg88 authored Dec 5, 2024
1 parent 763e052 commit b1ddd35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/snippet-script.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ window.initX = {
}

window.addEventListener('load', () => {
window.wysiwyg.setConfig({
window.wysiwyg?.setConfig({
auth: {
baseUrl: 'https://iam.empathy.co',
clientId: 'wysiwyg',
Expand Down

0 comments on commit b1ddd35

Please sign in to comment.