Skip to content

Commit

Permalink
Removed web-vitals package (#4481)
Browse files Browse the repository at this point in the history
  • Loading branch information
bilalabbad authored Sep 27, 2024
1 parent a0a9b55 commit 97706de
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 35 deletions.
13 changes: 1 addition & 12 deletions frontend/app/package-lock.json

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

3 changes: 1 addition & 2 deletions frontend/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,7 @@
"unidiff": "^1.0.4",
"use-query-params": "^2.2.1",
"vite": "^5.2.8",
"vite-tsconfig-paths": "^4.3.2",
"web-vitals": "^2.1.4"
"vite-tsconfig-paths": "^4.3.2"
},
"devDependencies": {
"@graphql-codegen/cli": "^5.0.2",
Expand Down
6 changes: 0 additions & 6 deletions frontend/app/src/Root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { CONFIG } from "@/config/config";
import { useSetAtom } from "jotai";
import { ReactNode, useEffect, useState } from "react";
import { toast } from "react-toastify";
import reportWebVitals from "./reportWebVitals";
import { Config, configState } from "./state/atoms/config.atom";
import LoadingScreen from "@/screens/loading-screen/loading-screen";
import { fetchUrl } from "@/utils/fetch";
Expand Down Expand Up @@ -63,8 +62,3 @@ export const Root = ({ children }: { children?: ReactNode }) => {

return children;
};

// If you want to start measuring performance in your app, pass a function
// to log results (for example: reportWebVitals(console.log))
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
reportWebVitals();
15 changes: 0 additions & 15 deletions frontend/app/src/reportWebVitals.ts

This file was deleted.

0 comments on commit 97706de

Please sign in to comment.