[IMP] playground: slightly improve default text

This commit is contained in:
Géry Debongnie
2019-10-01 21:37:36 +02:00
parent b859fcb8f0
commit 63c3d4f6b0
3 changed files with 9 additions and 3 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ class Greeter extends Component {
state = useState({ word: 'Hello' });
toggle() {
this.state.word = this.state.word === 'Hi' ? 'Hello' : 'Hi'
this.state.word = this.state.word === 'Hi' ? 'Hello' : 'Hi';
}
}