mirror of
				https://github.com/elyby/accounts-frontend.git
				synced 2025-05-31 14:11:58 +05:30 
			
		
		
		
	Remove deprecated methods usage
This commit is contained in:
		@@ -14,7 +14,7 @@ export class PopupStack extends React.Component<{
 | 
			
		||||
}> {
 | 
			
		||||
  unlistenTransition: () => void;
 | 
			
		||||
 | 
			
		||||
  componentWillMount() {
 | 
			
		||||
  componentDidMount() {
 | 
			
		||||
    document.addEventListener('keyup', this.onKeyPress);
 | 
			
		||||
    this.unlistenTransition = browserHistory.listen(this.onRouteLeave);
 | 
			
		||||
  }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user