diff --git a/components/Ackee.js b/components/Ackee.js index 2383f982..88618369 100644 --- a/components/Ackee.js +++ b/components/Ackee.js @@ -24,19 +24,19 @@ const Ackee = () => { }, { /* - * Enable or disable tracking of personal data. - * We recommend to ask the user for permission before turning this option on. - */ + * Enable or disable tracking of personal data. + * We recommend to ask the user for permission before turning this option on. + */ detailed: true, /* - * Enable or disable tracking when on localhost. - */ + * Enable or disable tracking when on localhost. + */ ignoreLocalhost: false, /* - * Enable or disable the tracking of your own visits. - * This is enabled by default, but should be turned off when using a wildcard Access-Control-Allow-Origin header. - * Some browsers strictly block third-party cookies. The option won't have an impact when this is the case. - */ + * Enable or disable the tracking of your own visits. + * This is enabled by default, but should be turned off when using a wildcard Access-Control-Allow-Origin header. + * Some browsers strictly block third-party cookies. The option won't have an impact when this is the case. + */ ignoreOwnVisits: false } ) diff --git a/hooks/useAdjustStyle.js b/hooks/useAdjustStyle.js index d04c1710..db9978ba 100644 --- a/hooks/useAdjustStyle.js +++ b/hooks/useAdjustStyle.js @@ -6,8 +6,8 @@ import { useEffect } from 'react'; */ const useAdjustStyle = () => { /** - * 避免 callout 含有图片时溢出撑开父容器 - */ + * 避免 callout 含有图片时溢出撑开父容器 + */ const adjustCalloutImg = () => { const callOuts = document.querySelectorAll('.notion-callout-text'); callOuts.forEach((callout) => {