Skip to content

Commit

Permalink
Merge pull request #82 from FuelLabs/temp/mainnet
Browse files Browse the repository at this point in the history
feat: Add Vercel Analytics
  • Loading branch information
rishabhkeshan authored Dec 7, 2024
2 parents 17af4d2 + 1b01ed4 commit cb8cafb
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 0 deletions.
38 changes: 38 additions & 0 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"@react-three/drei": "^9.97.0",
"@react-three/fiber": "^8.15.16",
"@tanstack/react-query": "^5.59.16",
"@vercel/analytics": "^1.4.1",
"@wagmi/core": "2.13.4",
"fuels": "^0.96.1",
"react": "^18.3.1",
Expand Down
2 changes: 2 additions & 0 deletions frontend/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import {
} from "./constants.ts";
import "./App.css";
import { FarmContract } from "./sway-api/index.ts";
import { Analytics } from "@vercel/analytics/react";

function App() {
const [isMobile, setIsMobile] = useState(false);
Expand Down Expand Up @@ -65,6 +66,7 @@ function App() {
</BoxCentered>
</BoxCentered>
)}
<Analytics mode="production" />
</Box>
);
}
Expand Down

0 comments on commit cb8cafb

Please sign in to comment.