on master help sign in
useRoller,points: removing debuggers
commit50d585baa87cf63478bab00b82257b3abd2ea28b authorHunter Miller <hunter@thisdot.co> dateTue 8 Feb 2022, 15:26 (5 years ago) parent4c72e9b
2 files changed−3
src/lib/useRoller.ts−2 src/views/Points.tsx−1
src/lib/useRoller.ts−2
@@ -1008,7 +1008,6 @@ export default function useRoller() {
10081008 spawningPoints: number[]
10091009 ) => {
10101010 try {
1011− debugger;
10121011 const allPoints = [
10131012 await Promise.all(ownedPoints.map(initPoint)),
10141013 await Promise.all(incomingPoints.map(initPoint)),
@@ -1017,7 +1016,6 @@ export default function useRoller() {
10171016 await Promise.all(spawningPoints.map(initPoint)),
10181017 ];
10191018
1020− debugger;
10211019 setPoints(
10221020 allPoints.reduce((acc: Points, cur: (Point | undefined)[]) => {
10231021 cur.forEach(p => {
src/views/Points.tsx−1
@@ -121,7 +121,6 @@ export default function Points() {
121121 [getDetails, controlledPoints, _contracts]
122122 );
123123
124− debugger;
125124 const allPoints = useMemo(
126125 () =>
127126 pointList.filter(