@@ -3,6 +3,8 @@ import { H1, P } from 'indigo-react';
4import { ROUTE_NAMES } from '../lib/routeNames';
4import { ROUTE_NAMES } from '../lib/routeNames';
5import { useHistory } from '../store/history';
5import { useHistory } from '../store/history';
6+import useImpliedPoint from 'lib/useImpliedPoint';
7+import useImpliedTicket from 'lib/useImpliedTicket';
7import View from 'components/View';
9import View from 'components/View';
8import { ForwardButton } from 'components/Buttons';
10import { ForwardButton } from 'components/Buttons';
@@ -10,6 +12,12 @@ import { ForwardButton } from 'components/Buttons';
10function Landing() {
12function Landing() {
11 const { push, names } = useHistory();
13 const { push, names } = useHistory();
15+ if (useImpliedPoint()) {
17+ } else if (useImpliedTicket()) {
18+ push(names.ACTIVATE);
15 <H1>Welcome</H1>
23 <H1>Welcome</H1>