diff --git a/README.MD b/README.MD index 8406c43fd..c1e3d680b 100644 --- a/README.MD +++ b/README.MD @@ -15,4 +15,8 @@ npx hasura migrate apply --up 10 --endpoint https://bodyshop-staging-db.herokuap NGROK TEsting: -./ngrok.exe http https://localhost:5000 -host-header="localhost:5000" \ No newline at end of file +./ngrok.exe http https://localhost:5000 -host-header="localhost:5000" + + +Finding deadfiles - run from client directory +npx deadfile ./src/index.js --exclude build templates diff --git a/client/package.json b/client/package.json index e32a434a6..6c4525580 100644 --- a/client/package.json +++ b/client/package.json @@ -5,7 +5,6 @@ "proxy": "https://localhost:5000", "dependencies": { "@lourenci/react-kanban": "^2.0.0", - "@nivo/pie": "^0.62.0", "@stripe/react-stripe-js": "^1.1.2", "@stripe/stripe-js": "^1.8.0", "@tanem/react-nprogress": "^3.0.34", diff --git a/client/src/components/job-detail-cards/job-detail-cards.parts.component.jsx b/client/src/components/job-detail-cards/job-detail-cards.parts.component.jsx index de1aa7882..ace40e4ff 100644 --- a/client/src/components/job-detail-cards/job-detail-cards.parts.component.jsx +++ b/client/src/components/job-detail-cards/job-detail-cards.parts.component.jsx @@ -1,61 +1,13 @@ import React from "react"; import { useTranslation } from "react-i18next"; import CardTemplate from "./job-detail-cards.template.component"; -import { Pie } from "@nivo/pie"; export default function JobDetailCardsPartsComponent({ loading, data }) { const { t } = useTranslation(); - const commonProperties = { - width: 225, - height: 225, - margin: { top: 20, right: 30, bottom: 20, left: 30 }, - animate: true - }; - - const cdata = [ - { - id: "elixir", - label: "elixir", - value: 558, - color: "hsl(21, 70%, 50%)" - }, - { - id: "erlang", - label: "erlang", - value: 443, - color: "hsl(91, 70%, 50%)" - }, - { - id: "css", - label: "css", - value: 161, - color: "hsl(271, 70%, 50%)" - }, - { - id: "python", - label: "python", - value: 305, - color: "hsl(33, 70%, 50%)" - }, - { - id: "php", - label: "php", - value: 360, - color: "hsl(296, 70%, 50%)" - } - ]; - return (