Skip to content
This repository was archived by the owner on Jun 3, 2024. It is now read-only.

Commit 5f645bd

Browse files
Deleting unused proptype (#542)
1 parent 442fe91 commit 5f645bd

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22
All notable changes to this project will be documented in this file.
33
This project adheres to [Semantic Versioning](http://semver.org/).
44

5+
## Unreleased
6+
7+
### Removed
8+
9+
- Removed unused `key` prop from `dcc.ConfirmDialog`
10+
11+
512
## [0.47.0] - 2019-04-25
613
### Fixed
714
- Fixed style regression in DatePickerSingle and DatePickerRange [#518](https://github.com/plotly/dash-core-components/issues/518)

src/components/ConfirmDialog.react.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ ConfirmDialog.propTypes = {
8484
* Set to true to send the ConfirmDialog.
8585
*/
8686
displayed: PropTypes.bool,
87-
key: PropTypes.string,
8887

8988
/**
9089
* Dash-assigned callback that gets fired when the value changes.

test/test_integration.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1865,7 +1865,6 @@ def on_click(n_clicks):
18651865
return dcc.ConfirmDialog(
18661866
displayed=True,
18671867
id='confirm',
1868-
key='confirm-{}'.format(time.time()),
18691868
message='Please confirm.')
18701869

18711870
self.startServer(app)

0 commit comments

Comments
 (0)