We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e1c552d commit 308c70aCopy full SHA for 308c70a
src/pages/community/sections/eventsPreview/SingleEvents/sections/EventDescription.jsx
@@ -1,10 +1,11 @@
1
import PropTypes from "prop-types";
2
import React from "react";
3
+import formatEventDescription from "../../../../../../utilities/formatEventDescription";
4
5
function EventDescription({ eventDesc }) {
6
return (
- <div className="w-full text-center max-w-3xl mx-auto text-sm md:text-[15px] md:leading-[22px] font-normal text-gray-600">
7
- {eventDesc}
+ <div className="w-full max-w-3xl mx-auto text-sm md:text-[15px] md:leading-[22px] font-normal text-gray-600">
8
+ {formatEventDescription(eventDesc)}
9
</div>
10
);
11
}
0 commit comments