diff --git a/hyperglass/ui/hooks/types.ts b/hyperglass/ui/hooks/types.ts deleted file mode 100644 index 9524eb0..0000000 --- a/hyperglass/ui/hooks/types.ts +++ /dev/null @@ -1,11 +0,0 @@ -import type * as ReactGA from 'react-ga'; - -export type GAEffect = (ga: typeof ReactGA) => void; - -export interface GAReturn { - ga: typeof ReactGA; - initialize(trackingId: string | null, debug: boolean): void; - trackPage(path: string): void; - trackModal(path: string): void; - trackEvent(event: ReactGA.EventArgs): void; -} diff --git a/hyperglass/ui/package.json b/hyperglass/ui/package.json index ca706ad..3ad637b 100644 --- a/hyperglass/ui/package.json +++ b/hyperglass/ui/package.json @@ -36,7 +36,6 @@ "react-dom": "^17.0.2", "react-fast-compare": "^3.2.0", "react-flow-renderer": "^9.6.0", - "react-ga": "^3.3.0", "react-hook-form": "^7.21.0", "react-icons": "^4.3.1", "react-if": "^4.1.1", diff --git a/hyperglass/ui/yarn.lock b/hyperglass/ui/yarn.lock index 6f69559..ad1752a 100644 --- a/hyperglass/ui/yarn.lock +++ b/hyperglass/ui/yarn.lock @@ -6893,11 +6893,6 @@ react-focus-lock@2.5.2: use-callback-ref "^1.2.5" use-sidecar "^1.0.5" -react-ga@^3.3.0: - version "3.3.0" - resolved "https://registry.yarnpkg.com/react-ga/-/react-ga-3.3.0.tgz#c91f407198adcb3b49e2bc5c12b3fe460039b3ca" - integrity sha512-o8RScHj6Lb8cwy3GMrVH6NJvL+y0zpJvKtc0+wmH7Bt23rszJmnqEQxRbyrqUzk9DTJIHoP42bfO5rswC9SWBQ== - react-hook-form@^7.21.0: version "7.21.0" resolved "https://registry.yarnpkg.com/react-hook-form/-/react-hook-form-7.21.0.tgz#f6f0311295b83ca768873ca9f2a787ff1525f591"