Skip to content

Commit

Permalink
fix: test live chat
Browse files Browse the repository at this point in the history
  • Loading branch information
aswathy-deriv committed Apr 1, 2024
1 parent 3cd64e1 commit ff84abc
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const LayoutOverlay = () => {
const isWhatsappChat = useThirdPartyFlags('chat.whatsapp_chat')
const path_name = getLocationPathname()
const is_deriv_prime = path_name.includes('deriv-prime')

console.log('isLiveChat', isLiveChat)
return (
<Flex.Box
id="overlay-container"
Expand All @@ -41,6 +41,7 @@ const LayoutOverlay = () => {
</Flex.Box>
<Flex.Box direction="col">
{isLiveChat && <LiveChatButton />}
{/* {!is_deriv_prime && isWhatsappChat && <WhatsappButton />} */}
{!is_deriv_prime && isWhatsappChat && <WhatsappButton />}
</Flex.Box>
</Flex.Box>
Expand Down

0 comments on commit ff84abc

Please sign in to comment.