Skip to content

Commit 59f9150

Browse files
BackendExpertJehanKandyAnupa1998
committed
Update DashHome.jsx
Co-Authored-By: JehanKandy <[email protected]> Co-Authored-By: Anupa Gamage <[email protected]>
1 parent d278af6 commit 59f9150

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

client/src/components/Dashboard/DashHome.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const DashHome = () => {
3737
{id: 4, name: "Borrowed Books", bgstyle: 'bg-purple-400/20', borderStyle: 'border-purple-500', icon: <BsJournalCheck />, value: <CountUp end={20} />, style: "text-purple-500"},
3838
{id: 5, name: "Selected Books", bgstyle: 'bg-red-400/20', borderStyle: 'border-red-500', icon: <BsJournalX />, value: <CountUp end={20} />, style: "text-red-500"},
3939
{id: 6, name: "My Books", bgstyle: 'bg-green-400/20', borderStyle: 'border-green-500', icon: <BsJournals />, value: <CountUp end={20} />, style: "text-green-500"},
40-
{id: 7, name: "My Selected Books", bgstyle: 'bg-blue-400/20', borderStyle: 'border-blue-500', icon: <BsJournalX />, value: <CountUp end={20} />, style: "text-blue-500"},
40+
{id: 7, name: "My Selected Books", bgstyle: 'bg-purple-400/20', borderStyle: 'border-purple-500', icon: <BsJournalX />, value: <CountUp end={20} />, style: "text-purple-500"},
4141
{id: 8, name: "My Borrowed Books", bgstyle: 'bg-yellow-400/20', borderStyle: 'border-yellow-500', icon: <BsJournalCheck />, value: <CountUp end={20} />, style: "text-yellow-500"},
4242
]
4343

@@ -67,7 +67,7 @@ const DashHome = () => {
6767
}
6868
}
6969
else{
70-
if(data.id !== 1 && data.id !== 2 && data.id !== 3 && data.id !== 4 && data.id !== 5){
70+
if(data.id !== 1 && data.id !== 3 && data.id !== 4 && data.id !== 5){
7171
return(
7272
<div className={`md:my-0 my-2 ${data.bgstyle} text-white px-4 py-8 rounded border-l-4 shadow-lg shadow-red ${data.borderStyle}`}>
7373
<div className="flex justify-between">

0 commit comments

Comments
 (0)