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(Popup): remove logic with setSafeState() #3301

Merged
merged 1 commit into from
Nov 30, 2018
Merged

Conversation

layershifter
Copy link
Member

This PR removes useless logic with setSafeState(), we just need to clear properly intervales and frames.

@codecov-io
Copy link

codecov-io commented Nov 25, 2018

Codecov Report

Merging #3301 into master will decrease coverage by 0.03%.
The diff coverage is 66.66%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3301      +/-   ##
==========================================
- Coverage   99.92%   99.89%   -0.04%     
==========================================
  Files         169      169              
  Lines        2803     2802       -1     
==========================================
- Hits         2801     2799       -2     
- Misses          2        3       +1
Impacted Files Coverage Δ
src/modules/Popup/Popup.js 99.23% <66.66%> (-0.77%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fca4035...ec98a17. Read the comment docs.

@layershifter layershifter changed the title fix(Popup|Responsive|Transition): remove logic with setSafeState() fix(Popup): remove logic with setSafeState() Nov 25, 2018
@@ -164,7 +160,7 @@ export default class Popup extends Component {
}

componentWillUnmount() {
this.mounted = false
clearTimeout(this.timeoutId)
Copy link
Member

Choose a reason for hiding this comment

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

👍

@levithomason levithomason merged commit d958945 into master Nov 30, 2018
@levithomason levithomason deleted the mixed/fix-state branch November 30, 2018 05:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants