Skip to content

Commit 33545ae

Browse files
committed
chore: clean Hero/Signup/Router imports; remove ArrowRight; deps reset; a11y on CTA
1 parent 988166d commit 33545ae

4 files changed

Lines changed: 18 additions & 11 deletions

File tree

package.json

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,35 +12,41 @@
1212
"docker:prod": "docker compose --profile prod up -d --build"
1313
},
1414
"dependencies": {
15-
"@emotion/react": "^11.11.3",
16-
"@emotion/styled": "^11.11.0",
17-
"@mui/icons-material": "^5.15.6",
18-
"@mui/material": "^5.15.6",
15+
"@emotion/react": "^11.14.0",
16+
"@emotion/styled": "^11.14.1",
17+
"@mui/icons-material": "^5.18.0",
18+
"@mui/material": "^5.18.0",
19+
"@octokit/graphql": "^9.0.1",
1920
"@primer/octicons-react": "^19.15.5",
2021
"@vitejs/plugin-react": "^4.3.3",
2122
"axios": "^1.7.7",
23+
"date-fns": "^4.1.0",
2224
"framer-motion": "^12.23.12",
2325
"lucide-react": "^0.525.0",
2426
"octokit": "^4.0.2",
2527
"postcss": "^8.4.47",
2628
"react": "^18.3.1",
2729
"react-dom": "^18.3.1",
28-
"react-hot-toast": "^2.4.1",
30+
"react-hot-toast": "^2.5.2",
2931
"react-icons": "^5.3.0",
30-
"react-router-dom": "^6.28.0",
32+
"react-router-dom": "^6.30.1",
33+
"recharts": "^3.1.2",
3134
"tailwindcss": "^3.4.14"
3235
},
3336
"devDependencies": {
3437
"@eslint/js": "^9.13.0",
38+
"@types/date-fns": "^2.5.3",
3539
"@types/jasmine": "^5.1.8",
36-
"@types/node": "^22.10.1",
40+
"@types/node": "^22.17.1",
3741
"@types/react": "^18.3.23",
3842
"@types/react-dom": "^18.3.7",
3943
"@types/react-redux": "^7.1.34",
4044
"@types/react-router-dom": "^5.3.3",
45+
"@types/recharts": "^1.8.29",
4146
"@vitejs/plugin-react-swc": "^3.5.0",
4247
"autoprefixer": "^10.4.20",
4348
"bcryptjs": "^3.0.2",
49+
"concurrently": "^9.2.0",
4450
"eslint": "^9.13.0",
4551
"eslint-plugin-react": "^7.37.2",
4652
"eslint-plugin-react-hooks": "^5.0.0",
@@ -51,6 +57,7 @@
5157
"passport": "^0.7.0",
5258
"passport-local": "^1.0.0",
5359
"supertest": "^7.1.4",
54-
"vite": "^5.4.10"
60+
"typescript": "^5.9.2",
61+
"vite": "^5.4.19"
5562
}
5663
}

src/Routes/Router.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Navigate, Route, Routes } from "react-router-dom";
1+
import { Routes, Route } from "react-router-dom";
22
import Tracker from "../pages/Tracker/Tracker.tsx";
33
import About from "../pages/About/About";
44
import Contact from "../pages/Contact/Contact";

src/components/Hero.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Search, ArrowRight } from 'lucide-react';
1+
import { Search } from 'lucide-react';
22
import { Link } from 'react-router-dom';
33

44
const Hero = () => {

src/pages/Signup/Signup.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React, { useState, ChangeEvent, FormEvent } from "react";
1+
import React, { useState } from "react";
22
import axios from "axios";
33
import { useNavigate ,Link } from "react-router-dom";
44
import { User, Mail, Lock } from "lucide-react";

0 commit comments

Comments
 (0)