mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-24 23:35:45 +00:00
refactor(FE): Remove unused imports and redundant code
This commit is contained in:
@@ -84,7 +84,6 @@ interface PurchaseOrderDetailProps {
|
||||
}
|
||||
|
||||
const PurchaseOrderDetail = ({
|
||||
type = 'detail',
|
||||
initialValues,
|
||||
refetchData,
|
||||
}: PurchaseOrderDetailProps) => {
|
||||
@@ -1042,7 +1041,7 @@ const PurchaseOrderDetail = ({
|
||||
ref={staffApprovalModal.ref}
|
||||
closeOnBackdrop
|
||||
className={{
|
||||
modalBox: 'w-full max-w-screen-2xl max-h-[90vh] overflow-y-auto',
|
||||
modalBox: 'w-full max-w-2xl max-h-[90vh] overflow-y-auto',
|
||||
}}
|
||||
>
|
||||
<PurchaseOrderStaffApprovalForm
|
||||
@@ -1061,7 +1060,7 @@ const PurchaseOrderDetail = ({
|
||||
ref={acceptApprovalModal.ref}
|
||||
closeOnBackdrop
|
||||
className={{
|
||||
modalBox: 'w-full max-w-screen-2xl max-h-[90vh] overflow-y-auto',
|
||||
modalBox: 'w-full max-w-2xl max-h-[90vh] overflow-y-auto',
|
||||
}}
|
||||
>
|
||||
<PurchaseOrderAcceptApprovalForm
|
||||
@@ -1079,7 +1078,7 @@ const PurchaseOrderDetail = ({
|
||||
ref={editModal.ref}
|
||||
closeOnBackdrop
|
||||
className={{
|
||||
modalBox: 'w-full max-w-screen-2xl max-h-[90vh] overflow-y-auto',
|
||||
modalBox: 'w-full max-w-2xl max-h-[90vh] overflow-y-auto',
|
||||
}}
|
||||
>
|
||||
<PurchaseOrderStaffApprovalForm
|
||||
@@ -1098,7 +1097,7 @@ const PurchaseOrderDetail = ({
|
||||
ref={penerimaanBarangModal.ref}
|
||||
closeOnBackdrop
|
||||
className={{
|
||||
modalBox: 'w-full max-w-screen-2xl max-h-[90vh] overflow-y-auto',
|
||||
modalBox: 'w-full max-w-2xl max-h-[90vh] overflow-y-auto',
|
||||
}}
|
||||
>
|
||||
<PurchaseOrderAcceptApprovalForm
|
||||
|
||||
Reference in New Issue
Block a user