close #186: se agregó botón de Nueva Unidad al inicio del contenido temático
This commit was merged in pull request #187.
This commit is contained in:
@@ -688,6 +688,12 @@ export function ContenidoTematico() {
|
||||
>
|
||||
{({ handleRef }) => (
|
||||
<>
|
||||
{index === 0 && (
|
||||
<InsertUnidadOverlay
|
||||
position="top"
|
||||
onInsert={() => insertUnidadAt(index)}
|
||||
/>
|
||||
)}
|
||||
<InsertUnidadOverlay
|
||||
position="bottom"
|
||||
onInsert={() => insertUnidadAt(index + 1)}
|
||||
|
||||
Reference in New Issue
Block a user