From 877434dfecee5238e98bdae4d0b06eaea93b2361 Mon Sep 17 00:00:00 2001 From: Phillweston <2436559745@qq.com> Date: Wed, 15 May 2024 15:02:15 +0000 Subject: [PATCH] Fix inconsistent indent of function comment --- components/Ackee.js | 18 +++++++++--------- hooks/useAdjustStyle.js | 4 ++-- 2 files changed, 11 insertions(+), 11 deletions(-) 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) => {