Update src/components/UI/Search.tsx

This commit is contained in:
Paul Wackerow 2022-12-14 18:42:08 +01:00 committed by GitHub
parent 523dee284d
commit 551a64d2b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ export const Search: React.FC = () => {
<DocSearch appId={appId} apiKey={apiKey} indexName={indexName} transformItems={
items => items.map(item => ({
...item,
url: item.url.replace('https://melodious-puffpuff-8e1109.netlify.app/', ''),
url: item.url.replace('https://melodious-puffpuff-8e1109.netlify.app', ''),
}))
} />
);