diff --git a/tools/helper/src/client/utils/getHeaders.ts b/tools/helper/src/client/utils/getHeaders.ts index a01ce1d51..9b115aeda 100644 --- a/tools/helper/src/client/utils/getHeaders.ts +++ b/tools/helper/src/client/utils/getHeaders.ts @@ -22,7 +22,7 @@ export const resolveHeaders = ( ? [2, 6] : levels const allowedHeaders = headers.filter( - (h) => h.level >= high && h.level <= low, + (header) => header.level >= high && header.level <= low, ) const result: HeaderItem[] = []