Skip to content

Commit

Permalink
remove redundant async
Browse files Browse the repository at this point in the history
  • Loading branch information
gwleuverink committed Jan 15, 2024
1 parent 73c28b2 commit c84f744
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/advanced-usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ This can be used in a variety of creative ways. For example for swapping out Lar
```javascript
import axios from "axios";
export default (async () => {
export default (() => {
window.axios = axios;
window.axios.defaults.headers.common["X-Requested-With"] = "XMLHttpRequest";
Expand Down

0 comments on commit c84f744

Please sign in to comment.