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

fix: pie label keys are not unique #4224

Merged
merged 1 commit into from
Feb 23, 2024
Merged

Conversation

ckifer
Copy link
Member

@ckifer ckifer commented Feb 22, 2024

Description

continue to undo key changes... 🙃

Related Issue

#4219

Motivation and Context

errors thrown when data is duplicated or when 0 is used as a datapoint

How Has This Been Tested?

use 0 as a datapoint and dont log a unique key error

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • I have added a storybook story or extended an existing story to show my changes
  • All new and existing tests passed.

@ckifer
Copy link
Member Author

ckifer commented Feb 23, 2024

Going to merge, minor change

@ckifer ckifer merged commit 1e7ff20 into master Feb 23, 2024
12 checks passed
@ckifer ckifer deleted the pie-labels-unique-key-error branch February 23, 2024 17:43
renovate bot referenced this pull request in SAP/ui5-webcomponents-react Mar 1, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [recharts](https://togithub.com/recharts/recharts) | [`2.12.1` ->
`2.12.2`](https://renovatebot.com/diffs/npm/recharts/2.12.1/2.12.2) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/recharts/2.12.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/recharts/2.12.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/recharts/2.12.1/2.12.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/recharts/2.12.1/2.12.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>recharts/recharts (recharts)</summary>

###
[`v2.12.2`](https://togithub.com/recharts/recharts/releases/tag/v2.12.2)

[Compare
Source](https://togithub.com/recharts/recharts/compare/v2.12.1...v2.12.2)

#### What's Changed

Some more small fixes while working on 3.x

##### Fix

- `Pie`: pie label keys are not unique when data is 0 by
[@&#8203;ckifer](https://togithub.com/ckifer) in
[https://github.com/recharts/recharts/pull/4224](https://togithub.com/recharts/recharts/pull/4224)
- `ResponsiveContainer`: Remove incorrectly timed console.warn call,
only log when using soon-to-be deprecated feature by
[@&#8203;HHongSeungWoo](https://togithub.com/HHongSeungWoo) in
[https://github.com/recharts/recharts/pull/4249](https://togithub.com/recharts/recharts/pull/4249)

**Full Changelog**:
recharts/recharts@v2.12.1...v2.12.2

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/SAP/ui5-webcomponents-react).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMjAuMiIsInVwZGF0ZWRJblZlciI6IjM3LjIyMC4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
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.

1 participant