Skip to content

Commit b6ff645

Browse files
STetsingAniket-Engg
authored andcommitted
fix
1 parent c4fd684 commit b6ff645

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

apps/remix-ide/src/app/plugins/remix-ai-assistant.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,8 @@ export class RemixAIAssistant extends ViewPlugin {
101101
}
102102

103103
async handleActivity(type: string, payload: any) {
104-
(window as any)._paq?.push(['trackEvent', 'remixai-assistant', `${type}-${payload}`])
104+
if ((type === 'promptSend') || (type === 'typing')) return
105+
(window as any)._paq?.push(['trackEvent', 'remixai-assistant', type, `${payload}`])
105106
}
106107

107108
updateComponent(state: {

0 commit comments

Comments
 (0)