Skip to content

Commit

Permalink
Remove react-ga from Road.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
olekenneth authored Oct 6, 2023
1 parent 9f50811 commit a67c932
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/Road.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import React, { FC, useEffect, useState, useMemo } from "react";
import ReactGA from "react-ga";
import { IRoad, IRoadStatus, ISource } from "./types";
import {
Card,
Expand Down Expand Up @@ -30,8 +29,6 @@ const Road: FC<any> = (props: RoadProps) => {
}, []);

useEffect(() => {
ReactGA.pageview("/" + props.road.urlFriendly);

setLoading(true);
fetch(props.road.url)
.then((r) => r.json())
Expand Down

0 comments on commit a67c932

Please sign in to comment.