Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- render() {
- Object.keys(this.state.photos).map((key) => {
- storageRef.child('front.jpg').getDownloadURL().then(function(url) {
- photosArray.push(<img key={key} src={url} />);
- });
- });
- return(
- <div>{photosArray}</div>
- )
- return (<div>{photosArray}</div>)
Add Comment
Please, Sign In to add comment