We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d9e534b + 1a5fd96 commit 676c197Copy full SHA for 676c197
1 file changed
src/components/CookieConsent/index.js
@@ -30,7 +30,7 @@ const CookieConsent = () => {
30
}
31
}, []);
32
33
- const handleResponse = () => {
+ const handleResponse = (response) => {
34
localStorage.setItem("cookie_consent", response);
35
setOpen(false);
36
};
0 commit comments