diff --git a/README.md b/README.md index 75c1f5f..600bfcc 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,7 @@ const Test = (props) => { { if (!!result) { - setData(result?.text); + setData(result.getText()); } if (!!error) {