Skip to content

Commit

Permalink
fix: wrong method name in example
Browse files Browse the repository at this point in the history
  • Loading branch information
krsche committed Oct 12, 2021
1 parent b3c9129 commit 992bb95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ console.log(getShortRegion('westeurope', Styles.iso3166));

### Default Style
```typescript
import { getShortRegion, Styles, setDefaultShortRegionStyle } from 'cloud-region-shortener'
import { getShortRegion, Styles, setDefaultStyle } from 'cloud-region-shortener'

setDefaultShortRegionStyle(Styles.iso3166);
setDefaultStyle(Styles.iso3166);
console.log(getShortRegion('westeurope'));
// nl
```
Expand Down

0 comments on commit 992bb95

Please sign in to comment.