Create chatwidget.tsx
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
'use client'
|
||||
|
||||
import Script from 'next/script'
|
||||
|
||||
export function ChatWidget() {
|
||||
return (
|
||||
<>
|
||||
<Script
|
||||
defer
|
||||
src="http://odoo.cloudrite.co.nz/im_livechat/loader/2"
|
||||
strategy="afterInteractive"
|
||||
/>
|
||||
<Script
|
||||
defer
|
||||
src="http://odoo.cloudrite.co.nz/im_livechat/assets_embed.js"
|
||||
strategy="afterInteractive"
|
||||
/>
|
||||
</>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user