Skip to content

Commit dd4344d

Browse files
committed
Remove unused code in Pagination component
1 parent e9b1a76 commit dd4344d

File tree

3 files changed

+1
-8
lines changed

3 files changed

+1
-8
lines changed

client/src/App.jsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import React from 'react'
21
import { BrowserRouter, Routes, Route } from 'react-router-dom'
32
import Home from './components/Home'
43
import LeetCodeWrapped from './components/Wrapped/LeetCodeWrapped'

client/src/components/Home.jsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ import { collection, getDocs, onSnapshot } from "firebase/firestore";
66
import { firestore } from "../firebase";
77
import { motion } from "framer-motion";
88
import "../App.css";
9-
import WorthAlert from "./Worth/WorthAlert";
10-
import Skeleton from "./Skeletons/Skeleton";
9+
1110
import HomeSkeleton from "./Skeletons/HomeSkeleton";
1211
import PromotedCard from "./PromotedCard";
1312
import { options } from "../utils/index"

client/src/components/Pagination/Pagination.jsx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
11

2-
const items = [
3-
{ id: 1, title: 'Back End Developer', department: 'Engineering', type: 'Full-time', location: 'Remote' },
4-
{ id: 2, title: 'Front End Developer', department: 'Engineering', type: 'Full-time', location: 'Remote' },
5-
{ id: 3, title: 'User Interface Designer', department: 'Design', type: 'Full-time', location: 'Remote' },
6-
]
72

83
export default function Pagination({ pageNo, setPageNo, totalPages }) {
94
return (

0 commit comments

Comments
 (0)