diff --git a/.gitignore b/.gitignore index cb761ee..b9c5083 100644 --- a/.gitignore +++ b/.gitignore @@ -17,7 +17,6 @@ # misc .DS_Store -.env* # debug npm-debug.log* diff --git a/components/FluxItem.jsx b/components/FluxItem.jsx index 7806812..ec4db89 100644 --- a/components/FluxItem.jsx +++ b/components/FluxItem.jsx @@ -1,15 +1,17 @@ import React from 'react' +import Link from 'next/link' export default class FluxItem extends React.Component { render() { + const location = this.props.locations.find((el) => el.id === this.props.item.coinId) return (
- By {this.props.item.pseudo} - At {this.props.item.location} + By {this.props.item.pseudo} + At {location.name}