*qO)}U}AIjYfwf*-IRkhGK%
zh_1Qlz|vW=gPzqz40!l4=UG|B`t)bwOL59E&=Ofi7a%G#VMjpJXQ0(qpBJArB~O%d
zixiKeHxGyfd`Yq$&^r@DKXF^N!?*<3YQD5T)|JTn^JEU8fMa05xsj!Z#>9g;7ZNHg
zN4{*_oDKSKTQ{m|;=3JEtW~YiZq$Zb2ylqKCE%SUDTu5%Fi?eB(CF&AVNUnCOt*fu
zdHsDN1d&KF9Y?o04C58f2uKOUTv(C?pFRu=ABN0;%-
z5k{zUxiLWJ>$}XC6UdIa_1K00@%n9955decDZTWlR?+Z0@BxJvRKh0jea#lJTDyty
zr?JzNu=05C+$33PDf?f(?ywd9{-d5H7ld5jQO>0$o1F?+V#ntVHYn_ovV(Bn{abz^
I{r3j-AAb#Y{{R30
literal 0
HcmV?d00001
From 9d3dad4dd3ce1ef08c3ab6b62873cd152358f71a Mon Sep 17 00:00:00 2001
From: jacobmathew105 <136278107+jacobmathew105@users.noreply.github.com>
Date: Mon, 27 May 2024 18:10:18 +1200
Subject: [PATCH 5/9] Removed the deletebutton from sidebar
Replaced the deletebutton with a deletemodal on the sidebar
---
frontend/src/components/SideBar.jsx | 15 +++++----------
1 file changed, 5 insertions(+), 10 deletions(-)
diff --git a/frontend/src/components/SideBar.jsx b/frontend/src/components/SideBar.jsx
index d85744f2..e9395458 100644
--- a/frontend/src/components/SideBar.jsx
+++ b/frontend/src/components/SideBar.jsx
@@ -6,9 +6,9 @@ import ScenarioContext from "../context/ScenarioContext";
import AccessLevel from "../enums/route.access.level";
import { useDelete, usePost } from "../hooks/crudHooks";
import styles from "../styling/SideBar.module.scss";
-import DeleteButton from "./DeleteButton";
import HelpButton from "./HelpButton";
import CreateScenerioCard from "./CreateScenarioCard";
+import DeleteModal from "./DeleteModal";
/**
* Component used for navigation and executing actions located at the left side of the screen.
@@ -152,15 +152,10 @@ export default function SideBar() {