lbry-desktop/web/component/adsBanner
infinite-persistence deb95cd443
Fix stale-closure in ad-detection code
Using that global variable was a bad idea. Stick to redux as the source of truth.

The flag is not listed for rehydration, so it will always start off as `undefined`, which is what we need anyways.

`undefined` indicates we haven't tested for ad-blockers, so we'll run the fetch and update the store with a true|false value.
2022-05-30 19:03:20 +08:00
..
index.js Fix stale-closure in ad-detection code 2022-05-30 19:03:20 +08:00
view.jsx Fix stale-closure in ad-detection code 2022-05-30 19:03:20 +08:00