Fix dated usage of this.props
commit63a4aea50ecaeb66ac3c4e420c433e6e04335421
authorFang <git@fang.io>
dateFri 21 Jun 2019, 13:55 (7 years ago)
parent9c0d440
src/views/Login.js+1−1
@@ -49,7 +49,7 @@ export default function Login() {
4949
5050 // if no point cursor set by login logic, try to deduce it
5151 let deduced = Nothing();
52− if (Nothing.hasInstance(this.props.pointCursor)) {
52+ if (Nothing.hasInstance(pointCursor)) {
5353 const owned = await azimuth.azimuth.getOwnedPoints(
5454 realContracts,
5555 realWallet.address