We have a modal that works for viewing members, but it'd be nice to edit them also.
When the save button is clicked, it should call a function editMember, which can be defined in the same file you put the modal in. Pass the updated member information into the function as a memberType object. There's no need to make the actual api request just yet, since we're still working that out.
We have a modal that works for viewing members, but it'd be nice to edit them also.
When the save button is clicked, it should call a function editMember, which can be defined in the same file you put the modal in. Pass the updated member information into the function as a
memberType
object. There's no need to make the actual api request just yet, since we're still working that out.We're waiting on a selection component (#33) so for now you can use a TextInput for the shirt size, and we'll correct it later on.