Skip to content

Commit 033598e

Browse files
committed
Delay opening the widget because it was causing issues
1 parent 0961c65 commit 033598e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

apps/webapp/app/hooks/useKapaWidget.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,9 @@ export function useKapaWidget() {
104104

105105
//we need to decode the aiHelp string because it's urlencoded
106106
const decodedAiHelp = decodeURIComponent(aiHelp);
107-
openKapa(decodedAiHelp);
107+
setTimeout(() => {
108+
openKapa(decodedAiHelp);
109+
}, 500);
108110
}
109111
},
110112
});

0 commit comments

Comments
 (0)