Skip to content

fix(typography): fix conditional hook call in Heading #75

fix(typography): fix conditional hook call in Heading

fix(typography): fix conditional hook call in Heading #75

Triggered via pull request March 13, 2026 01:52
Status Success
Total duration 1m 3s
Artifacts

ci.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
build (22)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4, pnpm/action-setup@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
build (22): packages/react/src/cascader/cascader.tsx#L24
'ref' is defined but never used
build (22): packages/react/src/carousel/__tests__/carousel.test.tsx#L6
'slides' is assigned a value but never used. Allowed unused vars must match /^React$/u
build (22): packages/react/src/calendar/calendar.tsx#L65
React Hook useEffect has a missing dependency: 'props'. Either include it or remove the dependency array
build (22): packages/react/src/calendar/calendar.tsx#L59
React Hook useEffect has a missing dependency: 'props'. Either include it or remove the dependency array
build (22): packages/react/src/calendar/calendar.tsx#L38
'_mode' is assigned a value but never used. Allowed unused vars must match /^React$/u
build (22): packages/react/src/calendar/calendar.tsx#L37
'_value' is assigned a value but never used. Allowed unused vars must match /^React$/u
build (22): packages/react/src/calendar/__tests__/calendar.test.tsx#L43
'getByText' is assigned a value but never used. Allowed unused vars must match /^React$/u
build (22): packages/react/src/avatar/avatar.tsx#L75
React Hook useEffect contains a call to 'setScale'. Without a list of dependencies, this can lead to an infinite chain of updates. To fix this, pass [prefixCls] as a second argument to the useEffect Hook
build (22): packages/react/src/auto-complete/auto-complete.tsx#L93
React Hook useEffect has a missing dependency: 'props'. Either include it or remove the dependency array
build (22): packages/react/src/auto-complete/__tests__/autocomplete.test.tsx#L50
'container' is assigned a value but never used. Allowed unused vars must match /^React$/u