Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
s00d committed Oct 24, 2024
2 parents b2259f3 + 7386290 commit d2a43da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api/methods.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ const routeFr = $switchLocaleRoute('fr')
- **Example**:
```typescript
// on /en/news
const routeFr = $switchLocaleRoute('fr')
const routeFr = $switchLocalePath('fr')
window.location.href = routeFr
// Output: url with new locale applied, e.g., '/fr/nouvelles'
```
Expand Down

0 comments on commit d2a43da

Please sign in to comment.