updates
This commit is contained in:
@@ -9,7 +9,7 @@ const CookiePreferencesLink: React.FC = () => {
|
||||
}
|
||||
|
||||
const handleClick = () => {
|
||||
// Dispatch a custom event listened by the banner to reopen details.
|
||||
|
||||
window.dispatchEvent(new CustomEvent('open-cookie-preferences'));
|
||||
};
|
||||
|
||||
@@ -26,4 +26,3 @@ const CookiePreferencesLink: React.FC = () => {
|
||||
|
||||
export default CookiePreferencesLink;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user