Skip to content

Commit

Permalink
refactor: remove unnecessary React fragment wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
hamed-valiollahi committed Dec 17, 2024
1 parent cef77fd commit c33d1b5
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions frontend/src/views/Transfers/AddEditViewTransfer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -447,18 +447,16 @@ export const AddEditViewTransfer = () => {

{/* Internal Comments */}
{!editorMode && (
<>
<Role roles={govRoles}>
{transferId && (
<BCBox py={2}>
<InternalComments
entityType="Transfer"
entityId={transferId}
/>
</BCBox>
)}
</Role>
</>
<Role roles={govRoles}>
{transferId && (
<BCBox py={2}>
<InternalComments
entityType="Transfer"
entityId={transferId}
/>
</BCBox>
)}
</Role>
)}

{/* Signing Authority Confirmation show it to FromOrg user when in draft and ToOrg when in Sent status */}
Expand Down

0 comments on commit c33d1b5

Please sign in to comment.