1
Fork 0
This commit is contained in:
Jake Howard 2016-01-19 19:12:32 +00:00
parent b2bcdc00cc
commit ae414a4a85

View file

@ -12,7 +12,7 @@ export default class ProjectImage extends React.Component {
} }
componentDidMount() { componentDidMount() {
if (this.props.data.link.startsWith('#')) { if (this.props.data.link.startsWith('#')) {
this.setState({url: this.props.data.link}) this.setState({url: this.props.data.link});
} else { } else {
Reverser(this.props.data.link) Reverser(this.props.data.link)
.then(function (url) { .then(function (url) {