@folklore/ads 0.0.41 → 0.0.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs.js +1 -1
- package/dist/es.js +1 -1
- package/package.json +2 -2
package/dist/cjs.js
CHANGED
|
@@ -885,7 +885,7 @@ function useAd(path, size) {
|
|
|
885
885
|
|
|
886
886
|
// Create slot
|
|
887
887
|
// const currentSlot = useRef(null);
|
|
888
|
-
const [slot, setSlot] = React.useState();
|
|
888
|
+
const [slot, setSlot] = React.useState(null);
|
|
889
889
|
React.useEffect(() => {
|
|
890
890
|
// if (currentSlot.current !== null) {
|
|
891
891
|
// adsManager.destroySlot(currentSlot.current);
|
package/dist/es.js
CHANGED
|
@@ -867,7 +867,7 @@ function useAd(path, size) {
|
|
|
867
867
|
|
|
868
868
|
// Create slot
|
|
869
869
|
// const currentSlot = useRef(null);
|
|
870
|
-
const [slot, setSlot] = useState();
|
|
870
|
+
const [slot, setSlot] = useState(null);
|
|
871
871
|
useEffect(() => {
|
|
872
872
|
// if (currentSlot.current !== null) {
|
|
873
873
|
// adsManager.destroySlot(currentSlot.current);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@folklore/ads",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.42",
|
|
4
4
|
"description": "Ads library",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"javascript",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"publishConfig": {
|
|
51
51
|
"access": "public"
|
|
52
52
|
},
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "db8a72d212365176dbfa62683dc2a4c12121adc4",
|
|
54
54
|
"dependencies": {
|
|
55
55
|
"@folklore/hooks": "^0.0.44",
|
|
56
56
|
"@folklore/tracking": "^0.0.23",
|