From 04beef3670285238d1b111ab338b53039f955ba8 Mon Sep 17 00:00:00 2001 From: Philip Cheung Date: Fri, 11 Oct 2024 11:25:10 +0800 Subject: [PATCH] fixed --- frontend/src/components/Common/ActionsMenu.tsx | 18 +++++++++--------- .../src/components/Common/SidebarItems.tsx | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/frontend/src/components/Common/ActionsMenu.tsx b/frontend/src/components/Common/ActionsMenu.tsx index eb562db..76a0323 100644 --- a/frontend/src/components/Common/ActionsMenu.tsx +++ b/frontend/src/components/Common/ActionsMenu.tsx @@ -11,7 +11,7 @@ import { FiEdit, FiTrash } from "react-icons/fi" import type { ItemPublic, UserPublic, AboutUsPublic, CoursePublic, ImagePublic, SchedulePublic } from "../../client" import EditUser from "../Admin/EditUser" -//import EditItem from "../Items/EditItem" +import EditItem from "../Items/EditItem" import EditCourseImage from "../CourseImage/editCourseImage" import EditAboutUs from "../AboutUs/EditAboutUs" import EditSechedule from "../Courses/EditSechedule" @@ -42,14 +42,14 @@ const ActionsMenu = ({ type, value, disabled }: ActionsMenuProps) => { onClose={editUserModal.onClose} /> ) - // case 'Item': - // return ( - // - // ) + case 'Item': + return ( + + ) case 'AboutUs': return (