Skip to content

Commit d0e9a0f

Browse files
authored
adding "this." to "resultsContainer
2 parents d46ea89 + b61096f commit d0e9a0f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

hello-world/react/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -173,10 +173,10 @@ class VideoCapture extends React.Component {
173173
) => {
174174
if (!result.barcodeResultItems.length) return;
175175
176-
resultsContainer.current!.textContent = '';
176+
this.resultsContainer.current!.textContent = '';
177177
console.log(result);
178178
for (let item of result.barcodeResultItems) {
179-
resultsContainer.current!.append(
179+
this.resultsContainer.current!.append(
180180
`${item.formatString}: ${item.text}`,
181181
document.createElement('br'),
182182
document.createElement('hr'),
@@ -527,4 +527,4 @@ See the section about [deployment](https://facebook.github.io/create-react-app/d
527527

528528
## Support
529529

530-
If you have any questions, feel free to [contact Dynamsoft support](https://www.dynamsoft.com/company/contact?utm_source=sampleReadme).
530+
If you have any questions, feel free to [contact Dynamsoft support](https://www.dynamsoft.com/company/contact?utm_source=sampleReadme).

0 commit comments

Comments
 (0)