diff --git a/lib/notion/convertInnerUrl.js b/lib/notion/convertInnerUrl.js index c6a39dcf..913fba9e 100644 --- a/lib/notion/convertInnerUrl.js +++ b/lib/notion/convertInnerUrl.js @@ -18,7 +18,7 @@ export const convertInnerUrl = allPages => { if (!allAnchorTags) { return } - const { origin, pathname } = window.location; + const { origin, pathname } = window.location const currentURL = origin + pathname const currentPathLang = pathname.split('/').filter(Boolean)[0] const lang = getCurrentLang @@ -50,4 +50,4 @@ export const convertInnerUrl = allPages => { } } } -} \ No newline at end of file +}