Skip to content

Commit

Permalink
fix import
Browse files Browse the repository at this point in the history
  • Loading branch information
abvthecity committed Dec 20, 2024
1 parent 97fb458 commit 023a196
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/fern-docs/ui/src/analytics/use-track.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from "react";
import { z } from "zod";
import { TRACK_EVENT_NAME } from "./constants";

const TRACK_EVENT_NAME = "fern-docs-track-analytics";
const TrackEventSchema = z.object({
event: z.string(),
properties: z
Expand Down Expand Up @@ -48,7 +48,6 @@ export function useSafeListenTrackEvents(
}
}
} catch (error) {

console.warn("Error emitting track event", error, event);
}
};
Expand Down

0 comments on commit 023a196

Please sign in to comment.