ant-design / cssinjs

https://ant-design.github.io/cssinjs
MIT License
236 stars 59 forks source link

fix: Not duplicated create keyframes and not create on SSR #53

Closed zombieJ closed 1 year ago

zombieJ commented 1 year ago

ref https://github.com/ant-design/ant-design/issues/38548

github-actions[bot] commented 1 year ago

🎊 PR Preview 1787c90434517e944c6462face5f425e0f02a939 has been successfully built and deployed to https://ant-design-cssinjs-preview-pr-53.surge.sh

:clock1: Build time: 219.816s

🤖 By surge-preview

codecov-commenter commented 1 year ago

Codecov Report

Base: 91.12% // Head: 91.13% // Increases project coverage by +0.01% :tada:

Coverage data is based on head (1787c90) compared to base (201d235). Patch coverage: 95.45% of modified lines in pull request are covered.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #53 +/- ## ========================================== + Coverage 91.12% 91.13% +0.01% ========================================== Files 11 11 Lines 473 485 +12 Branches 152 156 +4 ========================================== + Hits 431 442 +11 - Misses 42 43 +1 ``` | [Impacted Files](https://codecov.io/gh/ant-design/cssinjs/pull/53?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design) | Coverage Δ | | |---|---|---| | [src/hooks/useStyleRegister.tsx](https://codecov.io/gh/ant-design/cssinjs/pull/53/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design#diff-c3JjL2hvb2tzL3VzZVN0eWxlUmVnaXN0ZXIudHN4) | `97.95% <95.45%> (-0.56%)` | :arrow_down: | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.