Using listAll to map through images in Firebase Storage and pushing an object containing getDownloadURL of an image to an array
I created custom hook that gets images from my Firebase storage and returns it as an array of objects. Each object contains the name of the image file and the URL. With my current code, each object in the array…