diff --git a/CHANGELOG.md b/CHANGELOG.md index 4dc9df61..c6dd80d4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,17 @@ +# [1.0.0-dev.116](https://github.com/powerhouse-inc/document-model-electron/compare/v1.0.0-dev.115...v1.0.0-dev.116) (2024-09-18) + + +### Features + +* update cookie policy link ([f643c42](https://github.com/powerhouse-inc/document-model-electron/commit/f643c42fd3e3fcd85124350bcc748a98e375ff40)) + +# [1.0.0-dev.115](https://github.com/powerhouse-inc/document-model-electron/compare/v1.0.0-dev.114...v1.0.0-dev.115) (2024-09-17) + + +### Features + +* fixed revisions history scroll ([cfa4e47](https://github.com/powerhouse-inc/document-model-electron/commit/cfa4e473d10333ac876d4c45650fc09eaf1e9127)) + # [1.0.0-dev.114](https://github.com/powerhouse-inc/document-model-electron/compare/v1.0.0-dev.113...v1.0.0-dev.114) (2024-09-17) diff --git a/src/components/cookie-banner.tsx b/src/components/cookie-banner.tsx index a00fd41a..2deabce2 100644 --- a/src/components/cookie-banner.tsx +++ b/src/components/cookie-banner.tsx @@ -28,7 +28,6 @@ export const CookieBanner = () => { ]; const handleAccept = (cookies: CookieInput[]) => { - console.log(cookies); setShowBanner(false); if (isCookieAccepted(cookies, 'analytics-cookie')) { diff --git a/src/components/footer.tsx b/src/components/footer.tsx index 821b44d5..4dacf6b6 100644 --- a/src/components/footer.tsx +++ b/src/components/footer.tsx @@ -4,18 +4,20 @@ import { Icon, } from '@powerhousedao/design-system'; import { Trans } from 'react-i18next'; +import { useCookieBanner } from 'src/hooks/useCookieBanner'; import { openUrl } from 'src/utils/openUrl'; import { useModal } from './modal'; export const Footer = () => { const { showModal } = useModal(); + const [, setShowCookieBanner] = useCookieBanner(); return ( - openUrl('https://expenses.makerdao.network/cookies-policy') - } + onClick={() => { + setShowCookieBanner(true); + }} > diff --git a/src/vite-env.d.ts b/src/vite-env.d.ts index aab06110..fd309e47 100644 --- a/src/vite-env.d.ts +++ b/src/vite-env.d.ts @@ -20,8 +20,8 @@ type ImportMetaEnv = { PH_CONNECT_ROUTER_BASENAME: string PH_CONNECT_DEFAULT_DRIVES_URL: string PH_CONNECT_ENABLED_EDITORS: string - PH_CONNECT_DISABLE_ADD_PUBLIC_DRIVES: string PH_CONNECT_SEARCH_BAR_ENABLED: string + PH_CONNECT_DISABLE_ADD_PUBLIC_DRIVES: string PH_CONNECT_DISABLE_ADD_CLOUD_DRIVES: string PH_CONNECT_DISABLE_ADD_LOCAL_DRIVES: string PH_CONNECT_DISABLE_DELETE_PUBLIC_DRIVES: string