on master help sign in
L1 not working
4ea8104Will Galebach
package.json+1−1
@@ -117,7 +117,7 @@
117 "pilot-release": "WITH_TEST_STATE=STAR_RELEASE npm run pilot",
117 "pilot-release": "WITH_TEST_STATE=STAR_RELEASE npm run pilot",
118 "pilot-residents": "WITH_TEST_STATE=RESIDENTS npm run pilot",
118 "pilot-residents": "WITH_TEST_STATE=RESIDENTS npm run pilot",
119 "pilot-l2": "BROWSER=NONE WITH_TEST_STATE=L2 HTTPS=false NODE_ENV=development npm-run-all pilot:setup start pilot:cleanup --continue-on-error",
119 "pilot-l2": "BROWSER=NONE WITH_TEST_STATE=L2 HTTPS=false NODE_ENV=development npm-run-all pilot:setup start pilot:cleanup --continue-on-error",
120− "pilot-l2-local": "REACT_APP_STUB_LOCAL=true BROWSER=NONE REACT_APP_L2=true HTTPS=false NODE_ENV=development npm run start --continue-on-error",
120+ "pilot-l2-local": "REACT_APP_STUB_LOCAL=true BROWSER=NONE REACT_APP_L2=true HTTPS=false NODE_ENV=development npm-run-all pilot:setup start pilot:cleanup --continue-on-error",
121 "pilot-ropsten": "REACT_APP_ROPSTEN=true HTTPS=true npm-run-all start --continue-on-error",
121 "pilot-ropsten": "REACT_APP_ROPSTEN=true HTTPS=true npm-run-all start --continue-on-error",
122 "pilot:cleanup": "pkill -f ganache-cli",
122 "pilot:cleanup": "pkill -f ganache-cli",
123 "lint:check": "eslint 'src/**/*.{js,jsx,ts,tsx}'",
123 "lint:check": "eslint 'src/**/*.{js,jsx,ts,tsx}'",
src/views/Points.js+2−5
@@ -118,13 +118,10 @@ export default function Points() {
118 points.matchWith({
118 points.matchWith({
119 Error: () => Nothing(),
119 Error: () => Nothing(),
120 Ok: c => {
120 Ok: c => {
121− const points = c.value.ownedPoints.map(point => {
121+ const points = c.value.ownedPoints.map(point =>
122− console.log(point, getDetails(point))
123− return getDetails(point).chain(details =>
122+ getDetails(point).chain(details =>
124 Just({ point: point, has: hasTransferProxy(details) })
123 Just({ point: point, has: hasTransferProxy(details) })
125 )
124 )
126− }
127−
128 );
125 );
129 // if we have details for every point,
126 // if we have details for every point,
130 // return the array of pending transfers.
127 // return the array of pending transfers.