Skip to content

Commit

Permalink
update whatsapp modal
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasbuges authored Dec 31, 2023
1 parent 73012ad commit 0fe9fc3
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -181,12 +181,11 @@ export const WhatsAppModal = ({ isOpen, onClose }: ModalProps): JSX.Element => {
<ModalBody as={Stack} spacing="6">
{!hasProPerks(workspace) && (
<UnlockPlanAlertInfo excludedPlans={['STARTER']}>
Upgrade your workspace to <PlanTag plan="PRO" /> to be able to
enable WhatsApp integration.
Atualize seu workspace para o plano <PlanTag plan="PRO" /> para poder ativar a integração com o WhatsApp.
</UnlockPlanAlertInfo>
)}
{!isPublished && phoneNumberData?.id && (
<AlertInfo>You have modifications that can be published.</AlertInfo>
<AlertInfo>Você tem modificações que podem ser publicadas.</AlertInfo>
)}
<OrderedList spacing={4} pl="4">
<ListItem>
Expand Down Expand Up @@ -234,7 +233,7 @@ export const WhatsAppModal = ({ isOpen, onClose }: ModalProps): JSX.Element => {
whatsAppSettings?.sessionExpiryTimeout
}
placeholder={defaultSessionExpiryTimeout.toString()}
moreInfoTooltip="A number between 0 and 48 that represents the time in hours after which the session will expire if the user does not interact with the bot. The conversation restarts if the user sends a message after that expiration time."
moreInfoTooltip="Um número entre 0 e 48 que representa o tempo em horas após o qual a sessão expirará caso o usuário não interaja com o bot. A conversa será reiniciada se o usuário enviar uma mensagem após esse prazo de expiração."
onValueChange={updateSessionExpiryTimeout}
withVariableButton={false}
suffix="hours"
Expand Down

0 comments on commit 0fe9fc3

Please sign in to comment.