Skip to content

Commit b3adbeb

Browse files
authored
doc: correct some typos
1 parent 03c4a43 commit b3adbeb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Import ApiAi:
2020
import ApiAi from "react-native-api-ai";
2121
```
2222

23-
Set the `clientAccessToken` and the language in your contructor:
23+
Set the `clientAccessToken` and the language in your constructor:
2424
```javascript
2525
constructor(props) {
2626
super(props);
@@ -73,7 +73,7 @@ Usage of `onListeningStarted`, `onListeningCanceled`, `onListeningFinished` and
7373
}}
7474
/>
7575
```
76-
Note: Make sure you are setting the callbacks before startListening again every single time. Don't set in e.g. constructor or componentsDidMount if you are executing startListening more than one times.
76+
Note: Make sure you are setting the callbacks before startListening every single time again. Don't set the callbacks in e.g. constructor or componentsDidMount if you are executing startListening more than one times.
7777

7878
Using your own speech recognition:
7979
```javascript
@@ -115,4 +115,4 @@ ApiAi.setConfiguration("4xxxxxxxe90xxxxxxxxc372", ApiAi.LANG_GERMAN);
115115
| `onListeningStarted` | callback: ()=>{} | | |
116116
| `onListeningCanceled` | callback: ()=>{} || |
117117
| `onListeningFinished` | callback: ()=>{} | | |
118-
| `onAudioLevel` | callback: (level: number)=>{} || |
118+
| `onAudioLevel` | callback: (level: number)=>{} || |

0 commit comments

Comments
 (0)