Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Don't setState after unmounting a component #276

Merged
merged 1 commit into from
Apr 18, 2016
Merged

Conversation

richvdh
Copy link
Member

@richvdh richvdh commented Apr 18, 2016

Fix a warning which happens if a LinkPreviewWidget is unmounted before the
preview request completes.

Also add missing .done to promise chain

Fix a warning which happens if a LinkPreviewWidget is unmounted before the
preview request completes.

Also add missing .done to promise chain
@richvdh
Copy link
Member Author

richvdh commented Apr 18, 2016

Fix element-hq/element-web#1398

@ara4n
Copy link
Member

ara4n commented Apr 18, 2016

lgtm

@ara4n ara4n assigned richvdh and unassigned ara4n Apr 18, 2016
@richvdh richvdh merged commit 4661270 into develop Apr 18, 2016
@richvdh richvdh deleted the rav/issue_1398 branch April 18, 2016 13:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants