Skip to content

Commit

Permalink
Fix issue on news category page (#420)
Browse files Browse the repository at this point in the history
  • Loading branch information
viphan007 authored Sep 12, 2024
1 parent 864c07c commit a953692
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/templates/PageLayout.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ const PageLayout = props => {
}
}

if (window.HubSpotConversations) {
if (window.HubSpotConversations && pathname) {
if (pathname.includes('swaps') || pathname.includes('buy-crypto')) {
window.HubSpotConversations.widget.load()
} else {
Expand Down

0 comments on commit a953692

Please sign in to comment.