Skip to content

Commit

Permalink
change
Browse files Browse the repository at this point in the history
  • Loading branch information
tedgeving committed Feb 10, 2023
1 parent 1895203 commit f61cec3
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions src/components/edit/AreaCRUD.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -125,22 +125,6 @@ export const AreaCRUD = ({ uuid: parentUuid, areaName: parentName, childAreas, e
</DragDropContext>
)}

{/* Build 2 column table on large screens */}
<div className='two-column-table'>
{childAreas.map((props, index) => (
<AreaItem
key={props.uuid}
index={index}
borderBottom={0}
parentUuid={parentUuid}
{...props}
editMode={editMode}
onChange={onChange}
/>))}

{/* A hack to add bottom border */}

</div>
{areaCount > 0 && editMode && (
<div className='mt-8 md:text-right'>
<AddAreaTrigger parentName={parentName} parentUuid={parentUuid} onSuccess={onChange}>
Expand Down

0 comments on commit f61cec3

Please sign in to comment.