From c84f744c58ac9019858faf2b441aa9881e9f1df2 Mon Sep 17 00:00:00 2001 From: Willem Leuverink Date: Mon, 15 Jan 2024 23:46:57 +0100 Subject: [PATCH] remove redundant async --- docs/advanced-usage.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/advanced-usage.md b/docs/advanced-usage.md index 3239a1a..fc0ac79 100644 --- a/docs/advanced-usage.md +++ b/docs/advanced-usage.md @@ -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";