Turbo Repo Env Fixes for Docs App. (#218)

* turbo js env update

* turbo repo env fixes
This commit is contained in:
sriram veeraghanta 2023-01-31 19:52:03 +05:30 committed by GitHub
parent fbb045436c
commit d2df3330fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View file

@ -41,7 +41,7 @@ function useAutocomplete() {
return item.query
},
getItemUrl({ item }) {
let url = new URL(item.url)
const url = new URL(item.url)
return `${url.pathname}${url.hash}`
},
onSelect({ itemUrl }) {