Fix inconsistent indent of function comment

This commit is contained in:
Phillweston
2024-05-15 15:02:15 +00:00
parent f730c4150d
commit 877434dfec
2 changed files with 11 additions and 11 deletions

View File

@@ -24,19 +24,19 @@ const Ackee = () => {
}, },
{ {
/* /*
* Enable or disable tracking of personal data. * Enable or disable tracking of personal data.
* We recommend to ask the user for permission before turning this option on. * We recommend to ask the user for permission before turning this option on.
*/ */
detailed: true, detailed: true,
/* /*
* Enable or disable tracking when on localhost. * Enable or disable tracking when on localhost.
*/ */
ignoreLocalhost: false, ignoreLocalhost: false,
/* /*
* Enable or disable the tracking of your own visits. * 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. * 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. * Some browsers strictly block third-party cookies. The option won't have an impact when this is the case.
*/ */
ignoreOwnVisits: false ignoreOwnVisits: false
} }
) )

View File

@@ -6,8 +6,8 @@ import { useEffect } from 'react';
*/ */
const useAdjustStyle = () => { const useAdjustStyle = () => {
/** /**
* 避免 callout 含有图片时溢出撑开父容器 * 避免 callout 含有图片时溢出撑开父容器
*/ */
const adjustCalloutImg = () => { const adjustCalloutImg = () => {
const callOuts = document.querySelectorAll('.notion-callout-text'); const callOuts = document.querySelectorAll('.notion-callout-text');
callOuts.forEach((callout) => { callOuts.forEach((callout) => {