-
-
setSearchTerm(e.target.value)}
- />
-
+
+
+
+ setSearchTerm(e.target.value)}
+ />
+
+
+
+
+
+ Create Blog
+
+
+
-
+
{categories.map((category) => (
-
+
+
))}
-
-
- Create blog
-
-
+
{/* Blog Grid */}
@@ -209,7 +262,7 @@ export default function BlogPage(props) {
-
+
{blogPost.content.replace(/<[^>]+>/g, '')}
diff --git a/client/src/component/Contributors.jsx b/client/src/component/Contributors.jsx
index 84ffb66..c212f3b 100644
--- a/client/src/component/Contributors.jsx
+++ b/client/src/component/Contributors.jsx
@@ -222,6 +222,9 @@ StatCard.propTypes = {
icon: PropTypes.node.isRequired,
onClick: PropTypes.func,
};
+Contributor.propTypes = {
+ mode: PropTypes.string.isRequired,
+};
export default function Contributor(props) {
const [contributors, setContributors] = useState([]);