Change the code so that the string get's seperated into seperate strings instead of a single long string with the .map function on the subCategory array of the category data object
Send the paramenter of the map function to the subCategoryCallback function
Change the code so that the string get's seperated into seperate strings instead of a single long string with the .map function on the subCategory array of the category data object
Send the paramenter of the map function to the subCategoryCallback function