ant-design / cssinjs

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

fix: server not have window #140

Closed zombieJ closed 11 months ago

zombieJ commented 11 months ago

Server no need HMR

github-actions[bot] commented 11 months ago

😭 Deploy PR Preview f74ab8f84a14e662e4f6d88eb0f2793fa9dc5ac9 failed. Build logs

🤖 By surge-preview

codecov-commenter commented 11 months ago

Codecov Report

Patch coverage: 50.00% and project coverage change: -0.05% :warning:

Comparison is base (993b058) 94.79% compared to head (9732568) 94.75%.

:exclamation: Current head 9732568 differs from pull request most recent head f74ab8f. Consider uploading reports for the commit f74ab8f to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #140 +/- ## ========================================== - Coverage 94.79% 94.75% -0.05% ========================================== Files 24 24 Lines 2114 2115 +1 Branches 329 330 +1 ========================================== Hits 2004 2004 - Misses 110 111 +1 ``` | [Files Changed](https://app.codecov.io/gh/ant-design/cssinjs/pull/140?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design) | Coverage Δ | | |---|---|---| | [src/hooks/useHMR.ts](https://app.codecov.io/gh/ant-design/cssinjs/pull/140?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ant-design#diff-c3JjL2hvb2tzL3VzZUhNUi50cw==) | `52.94% <50.00%> (-1.61%)` | :arrow_down: |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.