Skip to content

Commit

Permalink
removed extra code denotation from docs
Browse files Browse the repository at this point in the history
  • Loading branch information
SimpleIndian committed Nov 20, 2021
1 parent 711d589 commit 57c7965
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,8 @@ localforage.getItem('somekey', function(err, value) {
console.log(value);
});

Or, use `async`/`await`:
// Or, use `async`/`await`:

```js
try {
const value = await localforage.getItem('somekey');
// This code runs once the value has been loaded
Expand Down

0 comments on commit 57c7965

Please sign in to comment.