Skip to content

Commit bccf276

Browse files
authored
Merge pull request #426 from davidhu2000/main
feat: remove preconnect link tag to improve performance
2 parents 45c2482 + 085a6b9 commit bccf276

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,7 @@ You can customise the Front placeholder icon by passing the following props to t
377377
- `containerClass`: Class to be added to the placeholder element, defaults to `live-chat-loader-placeholder`
378378

379379
See the [official Front documentation](https://help.front.com/) for more details.
380+
380381
</details>
381382

382383
<details>

src/components/LiveChatLoaderProvider.tsx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,6 @@ export const LiveChatLoaderProvider = ({
4545

4646
return (
4747
<LiveChatLoaderContext.Provider value={value}>
48-
<link
49-
href={baseUrl || chatProvider.domain}
50-
rel="preconnect"
51-
crossOrigin=""
52-
/>
5348
{children}
5449
</LiveChatLoaderContext.Provider>
5550
)

0 commit comments

Comments
 (0)