Skip to content

Commit

Permalink
fix: change the whatsapp redirect message to richtext (html) (#180)
Browse files Browse the repository at this point in the history
  • Loading branch information
benguedj authored Jul 8, 2024
1 parent e97904e commit 50d7a8c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/contact/ContactForm.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React, { useState, useEffect } from "react"
import parse from 'html-react-parser';
import {
RequestContact,
STORAGE_SOURCE,
Expand Down Expand Up @@ -233,8 +234,8 @@ export const ContactForm = ({
<b>Information</b>
</Modal.Header>

<Modal.Body style={{ textAlign: "center" }}>
<div>{activationContact?.whatsapp_redirect_message} </div>
<Modal.Body>
<div>{parse(activationContact?.whatsapp_redirect_message ?? '')}</div>
</Modal.Body>

<Modal.Footer
Expand Down

0 comments on commit 50d7a8c

Please sign in to comment.