Skip to content

Commit 676c197

Browse files
authored
Merge pull request #6887 from saurabhraghuvanshii/cookies
fix buttons `Accept` and `Decline`
2 parents d9e534b + 1a5fd96 commit 676c197

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/CookieConsent/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const CookieConsent = () => {
3030
}
3131
}, []);
3232

33-
const handleResponse = () => {
33+
const handleResponse = (response) => {
3434
localStorage.setItem("cookie_consent", response);
3535
setOpen(false);
3636
};

0 commit comments

Comments
 (0)