mirror of
https://github.com/AustinKelsay/plebdevs.git
synced 2025-06-03 07:42:03 +00:00
Update src/components/content/courses/DesktopCourseDetails.js
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
parent
b5b94e934a
commit
8c9d288dff
@ -100,10 +100,8 @@ export default function DesktopCourseDetails({
|
||||
<div className="lg:col-span-2">
|
||||
<h2 className="text-xl font-semibold mb-3 text-white">About This Course</h2>
|
||||
<div className="text-gray-300 mb-4">
|
||||
{processedEvent.description &&
|
||||
processedEvent?.description
|
||||
.split('\n')
|
||||
.map((line, index) => <p key={index} className="mb-2">{line}</p>)}
|
||||
{processedEvent?.description?.split('\n')
|
||||
.map((line, index) => <p key={index} className="mb-2">{line}</p>)}
|
||||
</div>
|
||||
|
||||
{/* Payment section */}
|
||||
|
Loading…
x
Reference in New Issue
Block a user