Skip to content

Commit

Permalink
chore(react-tracking): export TrackingProvider
Browse files Browse the repository at this point in the history
  • Loading branch information
thijsdaniels committed Mar 27, 2024
1 parent 2796566 commit e449bee
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/react-tracking/contexts/trackingContext.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { MouseEvent, SyntheticEvent, createContext } from "react";
import { Tracker } from "../providers/TrackingProvider";
import { Tracker } from "../components/TrackingProvider";

export interface TrackingContext {
path: string[];
Expand Down
1 change: 1 addition & 0 deletions packages/react-tracking/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
export * from "./components/TrackingProvider";
export * from "./contexts/trackingContext";
export * from "./hooks/useIntersectionTracker";
export * from "./hooks/useLoadTracker";
Expand Down
2 changes: 1 addition & 1 deletion packages/react-tracking/utilities/createConsoleTracker.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Tracker } from "../providers/TrackingProvider";
import { Tracker } from "../components/TrackingProvider";

export function createConsoleTracker({
method = "dir",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-tracking/utilities/createGtmTracker.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Tracker } from "../providers/TrackingProvider";
import { Tracker } from "../components/TrackingProvider";

declare global {
interface Window {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Tracker } from "../providers/TrackingProvider";
import { Tracker } from "../components/TrackingProvider";

declare global {
interface Window {
Expand Down

0 comments on commit e449bee

Please sign in to comment.