0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-16 21:12:49 +00:00

second commit

This commit is contained in:
Víctor Losada Hernández
2025-11-09 12:28:38 +01:00
parent 142fb8376f
commit 164330a4ef
4 changed files with 108 additions and 43 deletions

View File

@@ -58,13 +58,14 @@ const NewBrew = ()=>{
color='purple'
icon='fa-solid fa-plus-square'
onClick={()=>{ setOpen(true);}}>
new
new
</Nav.item>
{open && <Dialog blocking className='newBrewPopup' closeText={DISMISS_BUTTON} >
<NewDocumentForm/>
</Dialog>
{open && <Dialog blocking className='newBrewPopup' closeText={DISMISS_BUTTON} callbackFn={()=>{setOpen(false);}}>
<NewDocumentForm/>
</Dialog>
}
</>;
};