From 05ef4459170dc911b3636fdc3bc5f0144ffc42f5 Mon Sep 17 00:00:00 2001 From: Chandra Y Date: Wed, 13 Nov 2024 12:16:31 -0600 Subject: [PATCH] Fix merge issue and prettier --- .../EditExceptionModal/EditExceptionModal.tsx | 27 ++++++------- .../Admin/Exceptions/AdminExceptions.tsx | 1 - .../Forms/Registrations/FormEntity.tsx | 12 +++++- .../Forms/Registrations/RegistrationForm.tsx | 38 +++++++++---------- 4 files changed, 40 insertions(+), 38 deletions(-) diff --git a/apcd-cms/src/client/src/components/Admin/EditExceptionModal/EditExceptionModal.tsx b/apcd-cms/src/client/src/components/Admin/EditExceptionModal/EditExceptionModal.tsx index e25a85cc..a3e90fb9 100644 --- a/apcd-cms/src/client/src/components/Admin/EditExceptionModal/EditExceptionModal.tsx +++ b/apcd-cms/src/client/src/components/Admin/EditExceptionModal/EditExceptionModal.tsx @@ -2,7 +2,7 @@ import React, { useState, useEffect } from 'react'; import { Modal, ModalBody, - ModalFooter, + ModalHeader, Label, FormGroup, Row, @@ -219,6 +219,11 @@ const EditExceptionModal: React.FC = ({ setShowSuccessMessage(false); setShowErrorMessage(false); }; + const closeBtn = ( + + ); return ( <> @@ -228,15 +233,9 @@ const EditExceptionModal: React.FC = ({ className="modal-dialog modal-lg" onClosed={dismissMessages} > -
-

- Edit Exception ID {exception.exception_id} for{' '} - {exception.entity_name} -

- -
+ + Edit Exception ID {exception.exception_id} for {exception.entity_name} +

Edit Selected Exception

@@ -245,9 +244,7 @@ const EditExceptionModal: React.FC = ({ {exception.request_type == 'Threshold' && ( -