Skip to content

Commit

Permalink
chore(doc): fix clearCache example
Browse files Browse the repository at this point in the history
  • Loading branch information
Renato S Moreno committed Jun 8, 2020
1 parent 1628cd1 commit ebe5cdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ const path = useImageCache('https://via.placeholder.com/400');
```js
import {CacheManager} from 'react-native-image-cache-hook';

const cache = new CacheManager();
const cache = new CacheManager('/images/');

cache.clearCache()
.then(() => { ... })
Expand Down

0 comments on commit ebe5cdd

Please sign in to comment.