creating other things

This commit is contained in:
2024-09-13 21:49:20 -06:00
parent 4803adf604
commit 0b56e1d604
6 changed files with 60 additions and 18 deletions

View File

@@ -83,7 +83,7 @@ export default function ExpandableModule({
<Modal buttonText="New Item">
{({ closeModal }) => (
<div>
<NewItemForm moduleName={moduleName} />
<NewItemForm moduleName={moduleName} onCreate={closeModal} />
<br />
<button onClick={closeModal}>close</button>
</div>