update article function loads graphQL listArticles query into select list. then on submit it sets state of the variables and the editor. when submitting if an ID is included the updateArtcile (put) function is called, if not the createArticle (post) function is called.
update article function loads graphQL listArticles query into select list. then on submit it sets state of the variables and the editor. when submitting if an ID is included the updateArtcile (put) function is called, if not the createArticle (post) function is called.