react if statement inside jsx