@@ -7,6 +7,7 @@ import { Row, Col, H2, P } from '../../components/Base';
7import { Button } from '../../components/Base';
7import { Button } from '../../components/Base';
8import { ROUTE_NAMES } from '../../lib/routeNames';
8import { ROUTE_NAMES } from '../../lib/routeNames';
9import { useHistory } from '../../store/history';
9import { useHistory } from '../../store/history';
10+import { useWallet } from '../../store/wallet';
11const isPlanet = point =>
12const isPlanet = point =>
12 azimuth.getPointSize(point) === azimuth.PointSize.Planet;
13 azimuth.getPointSize(point) === azimuth.PointSize.Planet;
@@ -14,9 +15,10 @@ const isStar = point => azimuth.getPointSize(point) === azimuth.PointSize.Star;
15function Actions(props) {
16function Actions(props) {
16 const history = useHistory();
17 const history = useHistory();
18+ const { wallet } = useWallet();
17 const { online, point, pointDetails, invites } = props;
19 const { online, point, pointDetails, invites } = props;
19− const addr = need.address(props);
21+ const addr = need.address({ wallet });
21 const isOwner = pointDetails.matchWith({
23 const isOwner = pointDetails.matchWith({
22 Nothing: _ => false,
24 Nothing: _ => false,