diff options
author | Mo Tarbin <mhed.t91@gmail.com> | 2024-09-04 23:13:44 -0400 |
---|---|---|
committer | Mo Tarbin <mhed.t91@gmail.com> | 2024-09-04 23:13:44 -0400 |
commit | e6702663779136d91d6c73c4d4b319e1d0325142 (patch) | |
tree | 32375ef868e79fd3266e37ce1b23adcc15417822 /src/views/Landing | |
parent | 3a4519cb640fee59cdb4e6d9e3e9ddbcef46a37d (diff) | |
download | donetick-frontend-e6702663779136d91d6c73c4d4b319e1d0325142.tar.gz donetick-frontend-e6702663779136d91d6c73c4d4b319e1d0325142.tar.bz2 donetick-frontend-e6702663779136d91d6c73c4d4b319e1d0325142.zip |
Set cookies_permission to 'true' when closing CookiePermissionSnackbar
Diffstat (limited to 'src/views/Landing')
-rw-r--r-- | src/views/Landing/CookiePermissionSnackbar.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/views/Landing/CookiePermissionSnackbar.jsx b/src/views/Landing/CookiePermissionSnackbar.jsx index e786794..7fe3724 100644 --- a/src/views/Landing/CookiePermissionSnackbar.jsx +++ b/src/views/Landing/CookiePermissionSnackbar.jsx @@ -13,7 +13,7 @@ const CookiePermissionSnackbar = () => { const [open, setOpen] = useState(false) const handleClose = () => { - // Cookies.set('cookies_permission', 'true') + Cookies.set('cookies_permission', 'true') setOpen(false) } |