Palmabit-IT / react-cookie-law

React Cookie Law is a cookie-info banner compliance with the GDPR and the EU cookie law. It allows the user to give consent in a granular way.
115 stars 55 forks source link

fix: callbacks are called on every page load (fixes issue #31) #32

Open carlosmgahete opened 3 years ago

carlosmgahete commented 3 years ago

Removes call to consetsCallback() on every page load. Now it is called only when user press 'accept all' button or 'save preferences' button. Fixes issue #31.

coveralls commented 3 years ago

Pull Request Test Coverage Report for Build 97


Totals Coverage Status
Change from base Build #630002495: 0.0%
Covered Lines: 110
Relevant Lines: 119

💛 - Coveralls