From 8f4fe40b74267f6e555a85710f4afb23229e2830 Mon Sep 17 00:00:00 2001 From: Niraj Kumar Mahto Date: Sat, 2 Mar 2024 15:10:59 +0530 Subject: [PATCH] fix:side bar icons | Websecurity --- src/components/WebSecurity/CodeReviews/CodeReview.jsx | 2 +- src/components/WebSecurity/Common/Labs/Labs.jsx | 4 ++-- src/components/WebSecurity/CrackMe/CrackMe.jsx | 2 +- .../WebSecurity/WebSecurityLabs/WebSecurityLabs.jsx | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/WebSecurity/CodeReviews/CodeReview.jsx b/src/components/WebSecurity/CodeReviews/CodeReview.jsx index e74242e9..662f5ecf 100644 --- a/src/components/WebSecurity/CodeReviews/CodeReview.jsx +++ b/src/components/WebSecurity/CodeReviews/CodeReview.jsx @@ -3,7 +3,7 @@ import { codeReviewData } from "./CodeReviewData"; import Labs from "../Common/Labs/Labs"; const CodeReview = () => { - return ; + return ; }; export default CodeReview; diff --git a/src/components/WebSecurity/Common/Labs/Labs.jsx b/src/components/WebSecurity/Common/Labs/Labs.jsx index b140227a..4f82e21f 100644 --- a/src/components/WebSecurity/Common/Labs/Labs.jsx +++ b/src/components/WebSecurity/Common/Labs/Labs.jsx @@ -6,7 +6,7 @@ import { LevelButton } from "./RoomCardElement"; import Sidebar from "../../Sidebar"; import { Input } from "../SubmissionBoxElements"; -const Labs = ({ LabData }) => { +const Labs = ({ LabData, heading }) => { const [levelActive, setLevelActive] = useState("All"); const [categoryActive, setCategoryActive] = useState("All"); const [searchInput, setSearchInput] = useState(""); @@ -54,7 +54,7 @@ const Labs = ({ LabData }) => { <>
- +
diff --git a/src/components/WebSecurity/CrackMe/CrackMe.jsx b/src/components/WebSecurity/CrackMe/CrackMe.jsx index fd61d0a4..68f82228 100644 --- a/src/components/WebSecurity/CrackMe/CrackMe.jsx +++ b/src/components/WebSecurity/CrackMe/CrackMe.jsx @@ -2,7 +2,7 @@ import React from "react"; import Lab from "../Common/Labs/Labs"; import { crackmeLabData } from "./CrackMeData"; const CrackMe = () => { - return ; + return ; }; export default CrackMe; diff --git a/src/components/WebSecurity/WebSecurityLabs/WebSecurityLabs.jsx b/src/components/WebSecurity/WebSecurityLabs/WebSecurityLabs.jsx index df6b8216..359aa1f7 100644 --- a/src/components/WebSecurity/WebSecurityLabs/WebSecurityLabs.jsx +++ b/src/components/WebSecurity/WebSecurityLabs/WebSecurityLabs.jsx @@ -3,7 +3,7 @@ import Labs from "../Common/Labs/Labs"; import { LabData } from "../Common/Labs/LabsData"; const WebSecurityLabs = () => { - return ; + return ; }; export default WebSecurityLabs;