Skip to content

Commit 8745e1b

Browse files
777Vasya77gruhn
authored andcommitted
fix(QrcodeStream.md): Fixed typo
In "did you requested the front camera although there is none?" the past tense is already inflected in the auxiliary verb "did", so the infinitive (base) form of the verb should be used here. 
1 parent 500e0e4 commit 8745e1b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/api/QrcodeStream.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,15 +131,15 @@ This can happen [a couple of reasons](https://developer.mozilla.org/en-US/docs/W
131131
methods: {
132132
onError(error) {
133133
if (error.name === 'NotAllowedError') {
134-
// user denied camera access permisson
134+
// user denied camera access permission
135135
} else if (error.name === 'NotFoundError') {
136136
// no suitable camera device installed
137137
} else if (error.name === 'NotSupportedError') {
138138
// page is not served over HTTPS (or localhost)
139139
} else if (error.name === 'NotReadableError') {
140140
// maybe camera is already in use
141141
} else if (error.name === 'OverconstrainedError') {
142-
// did you requested the front camera although there is none?
142+
// did you request the front camera although there is none?
143143
} else if (error.name === 'StreamApiNotSupportedError') {
144144
// browser seems to be lacking features
145145
}

0 commit comments

Comments
 (0)