From 8d1f7eddfed1da04f036f28e5fab68542e10e950 Mon Sep 17 00:00:00 2001 From: Chris Date: Tue, 3 Sep 2024 13:46:52 -0700 Subject: [PATCH] chore(cleanup): clean uo --- .../snap/src/components/Recommendations/Recs/Recs.tsx | 2 +- packages/snap-tracker/src/Tracker.ts | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/snap-preact-demo/snap/src/components/Recommendations/Recs/Recs.tsx b/packages/snap-preact-demo/snap/src/components/Recommendations/Recs/Recs.tsx index 06d963cfc..428d115f4 100644 --- a/packages/snap-preact-demo/snap/src/components/Recommendations/Recs/Recs.tsx +++ b/packages/snap-preact-demo/snap/src/components/Recommendations/Recs/Recs.tsx @@ -33,7 +33,7 @@ export class Recs extends Component {
- + {store.results.map((result) => ( ))} diff --git a/packages/snap-tracker/src/Tracker.ts b/packages/snap-tracker/src/Tracker.ts index 0216afad8..d95b5b9a5 100644 --- a/packages/snap-tracker/src/Tracker.ts +++ b/packages/snap-tracker/src/Tracker.ts @@ -743,9 +743,9 @@ export class Tracker { }; sendEvents = (eventsToSend?: BeaconEvent[]): void => { - // if (this.mode !== AppMode.production) { - // return; - // } + if (this.mode !== AppMode.production) { + return; + } const savedEvents = JSON.parse(this.localStorage.get(LOCALSTORAGE_BEACON_POOL_NAME) || '[]') as BeaconEvent[]; if (eventsToSend) {