diff --git a/orbit-app/src/components/CommentsSection.jsx b/orbit-app/src/components/CommentsSection.jsx index 6fe0c21..f75f2f9 100644 --- a/orbit-app/src/components/CommentsSection.jsx +++ b/orbit-app/src/components/CommentsSection.jsx @@ -1,6 +1,8 @@ import React, { useState, useEffect } from 'react'; import axios from 'axios'; import { BASE_URL } from '../util'; +// FIX: Import a robust HTML sanitizer +import DOMPurify from 'dompurify'; function CommentsSection() { const [comment, setComment] = useState(''); @@ -31,24 +33,26 @@ function CommentsSection() { }; return ( -
-

Comments

-
-