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 CHANGED
@@ -1866,6 +1866,7 @@ var useCookieConsent = ({
1866
1866
  if (onConsentChange) {
1867
1867
  onConsentChange(cookiesNowAccepted);
1868
1868
  }
1869
+ console.log("handleCookieStateChange");
1869
1870
  setShowBanner(false);
1870
1871
  }, [areCookiesAccepted, onConsentChange]);
1871
1872
  (0, import_react11.useEffect)(() => {
@@ -2054,6 +2055,7 @@ var CookieBanner = ({
2054
2055
  }) => {
2055
2056
  if (!visible) return null;
2056
2057
  const handleCookieChoice = (accepted) => {
2058
+ console.log(accepted);
2057
2059
  if (accepted) {
2058
2060
  acceptCookies();
2059
2061
  } else {