optimized-react-component-library-xyz123 0.19.5 → 0.19.6
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/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1787,6 +1787,7 @@ var useCookieConsent = ({
|
|
|
1787
1787
|
if (onConsentChange) {
|
|
1788
1788
|
onConsentChange(cookiesNowAccepted);
|
|
1789
1789
|
}
|
|
1790
|
+
console.log("handleCookieStateChange");
|
|
1790
1791
|
setShowBanner(false);
|
|
1791
1792
|
}, [areCookiesAccepted, onConsentChange]);
|
|
1792
1793
|
useEffect10(() => {
|
|
@@ -1975,6 +1976,7 @@ var CookieBanner = ({
|
|
|
1975
1976
|
}) => {
|
|
1976
1977
|
if (!visible) return null;
|
|
1977
1978
|
const handleCookieChoice = (accepted) => {
|
|
1979
|
+
console.log(accepted);
|
|
1978
1980
|
if (accepted) {
|
|
1979
1981
|
acceptCookies();
|
|
1980
1982
|
} else {
|