From 9e88cce6b75229aab2e6849add091482fed4f1a7 Mon Sep 17 00:00:00 2001 From: preslavmihaylov Date: Fri, 11 Oct 2024 13:49:59 +0300 Subject: [PATCH] fix type error --- pages/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/index.tsx b/pages/index.tsx index e4ce073..b29bbd5 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -8,7 +8,7 @@ const Home: NextPage = () => { let script = document.createElement('script'); script.async = false; script.onload = function(){ - Plain.init({ + (window as any).Plain.init({ appId: 'liveChatApp_01J9XJ0Z9WZC9CXQXMR7FT1BC7', hideLauncher: true, });