Skip to content

Commit 77231d1

Browse files
committed
add prefix
1 parent b08f020 commit 77231d1

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/components/ExamplesDropdown.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ import {
2020

2121
import { useEffect, useState } from "react";
2222
import { usePostHog } from "@posthog/react";
23-
import AppConfig from "@/services/configservice";
2423

2524
export function ExamplesDropdown({
2625
disabled,
@@ -33,7 +32,6 @@ export function ExamplesDropdown({
3332
const [promptOpen, setPromptOpen] = useState(false);
3433
const [selectedExample, setSelectedExample] = useState<Example>();
3534
const posthog = usePostHog();
36-
const config = AppConfig();
3735

3836
useEffect(() => {
3937
const fetchExamples = async () => {
@@ -87,7 +85,7 @@ export function ExamplesDropdown({
8785
<AlertDialogAction
8886
onClick={() => {
8987
if (selectedExample) {
90-
posthog.capture("schema_selected", {
88+
posthog.capture("playground_schema_selected", {
9189
schema_id: selectedExample.id,
9290
schema_title: selectedExample.title,
9391
});

0 commit comments

Comments
 (0)