diff --git a/components/dash-table/CHANGELOG.md b/components/dash-table/CHANGELOG.md index 89549d8f42..92badbc054 100644 --- a/components/dash-table/CHANGELOG.md +++ b/components/dash-table/CHANGELOG.md @@ -2,6 +2,11 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). +## [Unreleased] +### Fixed +- [#1778](https://github.com/plotly/dash/pull/1778) Fix React warnings stating + that each child in a list should have a unique "key" prop + ## [4.12.0] - 2021-07-09 ### Fixed - [#907](https://github.com/plotly/dash-table/pull/907) diff --git a/components/dash-table/demo/index.html b/components/dash-table/demo/index.html index 7884111a5c..480e65a4b5 100644 --- a/components/dash-table/demo/index.html +++ b/components/dash-table/demo/index.html @@ -5,8 +5,8 @@
- - + + diff --git a/components/dash-table/src/dash-table/derived/header/content.tsx b/components/dash-table/src/dash-table/derived/header/content.tsx index 629b44512e..7953c71b7e 100644 --- a/components/dash-table/src/dash-table/derived/header/content.tsx +++ b/components/dash-table/src/dash-table/derived/header/content.tsx @@ -283,7 +283,7 @@ function getter( ); return ( -
+
{!column_selectable || !selectable ? null : (