Skip to content

Commit

Permalink
Reduced dependencies (#143)
Browse files Browse the repository at this point in the history
  • Loading branch information
devarshishimpi committed Oct 14, 2022
2 parents 999f208 + 389305c commit 4693627
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 71 deletions.
64 changes: 0 additions & 64 deletions frontend/package-lock.json

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

3 changes: 0 additions & 3 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,11 @@
"@testing-library/user-event": "^13.5.0",
"@uiw/react-md-editor": "^3.18.1",
"aos": "^2.3.4",
"create-reactjs-component": "^1.0.7",
"express-sitemap-xml": "^3.0.1",
"marked": "^4.1.1",
"react": "^18.2.0",
"react-detect-click-outside": "^1.1.7",
"react-dom": "^18.2.0",
"react-helmet": "^6.1.0",
"react-icons": "^4.4.0",
"react-js-switch": "^1.1.6",
"react-router-dom": "^6.4.2",
"react-scripts": "^5.0.1",
Expand Down
6 changes: 2 additions & 4 deletions frontend/src/components/RecycleBin/RecycleBin.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ import Sidenav from '../Sidenav/Sidenav'
import { ToastContainer, toast } from 'react-toastify';
import 'react-toastify/dist/ReactToastify.css';
import { useNavigate } from 'react-router-dom';
import { RiInboxUnarchiveLine } from 'react-icons/ri';
import { AiFillDelete } from 'react-icons/ai';
import {Helmet} from "react-helmet";

const RecycleBin = () => {
Expand Down Expand Up @@ -120,10 +118,10 @@ const RecycleBin = () => {
<div className="bottom-content">
<span>{convertToMonthName(new Date(dateStu).getMonth()) + " " + new Date(dateStu).getDate().toString() + ", " + new Date(dateStu).getFullYear()}</span>
<div onClick={() => unArchive(note._id)} id={`settings-${note._id}`} className="settings">
<RiInboxUnarchiveLine />
<i class="fa-solid fa-inbox"></i>
</div>
<div onClick={() => deletePermanently(note._id)} id={`settings-${note._id}`} className="settings">
<AiFillDelete />
<i class="fa-solid fa-trash"></i>
</div>
</div>
</li>
Expand Down

0 comments on commit 4693627

Please sign in to comment.