-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Antd v5 compatibility #39
Conversation
Antd v5 compatibility
Codecov ReportBase: 84.75% // Head: 84.75% // No change to project coverage 👍
Additional details and impacted files@@ Coverage Diff @@
## master #39 +/- ##
=======================================
Coverage 84.75% 84.75%
=======================================
Files 12 12
Lines 492 492
Branches 197 197
=======================================
Hits 417 417
Misses 12 12
Partials 63 63
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
src/Cron.tsx
Outdated
@@ -1,5 +1,5 @@ | |||
import React, { useState, useCallback, useEffect, useRef, useMemo } from 'react' | |||
import Button from 'antd/lib/button' | |||
import { Button } from 'antd' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be fixed, at least its not showing any error on my side.
46bb9d5
to
0ff803f
Compare
Thanks! I will create a new release soon with this fix when I'm done |
🤔 This is a ...
💡 Background and solution
Antd v5 got released dropping antd/es and antd/lib packages (which should have never been used anyway). This PR is fixing imports.
☑️ Self Check before Merge