Skip to content
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

Merged
merged 4 commits into from
Nov 22, 2022
Merged

Antd v5 compatibility #39

merged 4 commits into from
Nov 22, 2022

Conversation

chillyistkult
Copy link
Contributor

@chillyistkult chillyistkult commented Nov 20, 2022

🤔 This is a ...

  • New feature
  • Bug fix
  • Demo update
  • Component style update
  • TypeScript definition update
  • Bundle size optimization
  • Performance optimization
  • Refactoring
  • Code style optimization
  • Test Case
  • README update
  • Other (about what?)

💡 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

⚠️ Please check all items below before review. ⚠️

  • Demo in storybook is updated/provided or not needed
  • TypeScript definition is updated/provided or not needed
  • README API section is updated or not needed

@codecov
Copy link

codecov bot commented Nov 21, 2022

Codecov Report

Base: 84.75% // Head: 84.75% // No change to project coverage 👍

Coverage data is based on head (0ff803f) compared to base (ba33558).
Patch has no changes to coverable lines.

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           
Impacted Files Coverage Δ
src/Cron.tsx 93.47% <ø> (ø)

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.
📢 Do you have feedback about the report comment? Let us know in this issue.

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'
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a non-breaking space in this code:

Screenshot 2022-11-22 at 00 22 39

Copy link
Contributor Author

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.

@xrutayisire
Copy link
Owner

Thanks! I will create a new release soon with this fix when I'm done

@xrutayisire xrutayisire mentioned this pull request Nov 23, 2022
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants