mirror of
				https://github.com/mitchell/mjfs.us.git
				synced 2025-10-31 21:15:26 +00:00 
			
		
		
		
	Add this function binds to Navbar constructor
This commit is contained in:
		
							parent
							
								
									b8068f4b58
								
							
						
					
					
						commit
						9b0c712688
					
				|  | @ -21,6 +21,7 @@ export default class Experience extends React.PureComponent<Props> { | |||
|       </div> | ||||
|     ) | ||||
|   } | ||||
| 
 | ||||
|   private renderBullets() { | ||||
|     return this.props.bullets.map((bullet, index) => ( | ||||
|       <li key={index}>{bullet}</li> | ||||
|  |  | |||
|  | @ -14,6 +14,10 @@ class Navbar extends React.Component<{}, State> { | |||
|   constructor(props: {}) { | ||||
|     super(props) | ||||
|     this.state = { showMenu: !this.isMobile() } | ||||
| 
 | ||||
|     this.toggleMenu = this.toggleMenu.bind(this) | ||||
|     this.renderButtons = this.renderButtons.bind(this) | ||||
|     this.closeMenu = this.closeMenu.bind(this) | ||||
|   } | ||||
| 
 | ||||
|   public render() { | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue