I have this set of code and basically what I am trying to achieve is the selected option when on the edit page.
//this one works const [artData, setArtDat