Skip to content

Commit c01a0e4

Browse files
authored
Some changes have been reverted
1 parent e165b8f commit c01a0e4

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

content/docs/portals.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ class Parent extends React.Component {
110110
}
111111
112112
handleClick() {
113-
// Esto se activará cuando el botón en el Child sea clicado,
113+
// Esto se activará cuando el botón en el Child sea cliqueado,
114114
// actualizando el estado de Parent,
115115
// aunque el botón no sea descendiente directo en el DOM.
116116
this.setState(state => ({
@@ -121,12 +121,12 @@ class Parent extends React.Component {
121121
render() {
122122
return (
123123
<div onClick={this.handleClick}>
124-
<p>Número de clics: {this.state.clicks}</p>
124+
<p>Number of clicks: {this.state.clicks}</p>
125125
<p>
126-
Abre las herramientas de desarrolador
127-
del navegador para que observes que el botón
128-
no es un hijo del div que tiene asignado
129-
el evento onClick
126+
Open up the browser DevTools
127+
to observe that the button
128+
is not a child of the div
129+
with the onClick handler.
130130
</p>
131131
<Modal>
132132
<Child />

0 commit comments

Comments
 (0)