Skip to content

Commit

Permalink
fix: build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuzhy-Deriv committed Nov 5, 2024
1 parent 13d3c28 commit 4700325
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/javascript/app/base/header.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,10 @@ const Header = (() => {
topbar_whatsapp.style.display = cs_chat_whatsapp ? 'inline-flex' : 'none';
whatsapp_mobile_drawer.style.display = cs_chat_whatsapp ? 'flex' : 'none';
})
// eslint-disable-next-line no-console

.catch(error => {
if (document.getElementById('deriv_livechat')) { DerivLiveChat.init(); }
// eslint-disable-next-line no-console
console.error('Error fetching feature flags:', error);
});
};
Expand Down

0 comments on commit 4700325

Please sign in to comment.