Skip to content

Commit

Permalink
chore(cleanup): clean uo
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisFrazier77 committed Sep 3, 2024
1 parent 6e3ecba commit 8d1f7ed
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export class Recs extends Component<RecsProps> {
</Carousel>

<hr style={{ margin: '20px 0' }} />
<Recommendation controller={controller} title={'Recommended For You'} speed={0}>
<Recommendation controller={controller} title={'Recommended For You'} speed={0} lazyRender={{ enabled: false }}>
{store.results.map((result) => (
<Result controller={controller} result={result}></Result>
))}
Expand Down
6 changes: 3 additions & 3 deletions packages/snap-tracker/src/Tracker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 8d1f7ed

Please sign in to comment.