From e76d32a923e3e5c5e17cb8f90df591da11216856 Mon Sep 17 00:00:00 2001 From: Nanthakumaran S Date: Sat, 21 Jan 2023 20:58:34 +0530 Subject: [PATCH] feat: add markdown support fot testimonial --- components/user/UserTestimonials.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/user/UserTestimonials.js b/components/user/UserTestimonials.js index 096b43479e5..5410dc39f63 100644 --- a/components/user/UserTestimonials.js +++ b/components/user/UserTestimonials.js @@ -2,6 +2,7 @@ import Image from "next/image"; import Link from "next/link"; import Alert from "../Alert"; import FallbackImage from "../FallbackImage"; +import { ReactMarkdown } from "react-markdown/lib/react-markdown"; export default function UserTestimonials({ data }) { return ( @@ -45,7 +46,7 @@ export default function UserTestimonials({ data }) {
-

{testimonial.description}

+ {testimonial.description}