From a1711c6ec387ad76dc17dc17ee317786b0882c02 Mon Sep 17 00:00:00 2001 From: AdappterXYZ Date: Tue, 5 Nov 2024 15:25:57 +0800 Subject: [PATCH] ui changes --- src/App.js | 6 +++--- src/components/nav/LeftNavBar.jsx | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/App.js b/src/App.js index 184211d..735aba8 100644 --- a/src/App.js +++ b/src/App.js @@ -19,8 +19,8 @@ const { ethers } = require('ethers'); function App() { - const [isLoggedIn, setIsLoggedIn] = useState(0); - const [activeItem, setActiveItem] = useState('Bots'); + const [isLoggedIn, setIsLoggedIn] = useState(1); + const [activeItem, setActiveItem] = useState('Tasks'); const [curract, setCurract] = useState('...'); const [initialProjects, setInitialProjects] = useState(initialProjectsdata); const [isLoading, setIsLoading] = useState(false); @@ -533,7 +533,7 @@ const scrollToBottom = () => {
- {activeItem === 'Bots' &&
+ {activeItem === 'Tasks' &&
Chicken Icon Balance: {balance} CKN diff --git a/src/components/nav/LeftNavBar.jsx b/src/components/nav/LeftNavBar.jsx index c74f59c..de1aebb 100644 --- a/src/components/nav/LeftNavBar.jsx +++ b/src/components/nav/LeftNavBar.jsx @@ -24,8 +24,9 @@ const LeftNavBar = ({ handleNavItemClick, activeItem, setActiveItem, isNavVisibl }; const navItems = [ - { label: 'Bots', value: 'Bots', icon: ReactIcons.FaDesktop }, + { label: 'Tasks', value: 'Tasks', icon: ReactIcons.FaDesktop }, { label: 'Assets', value: 'Assets', icon: ReactIcons.FaFileContract }, + { label: 'Schedule', value: 'Scheduled', icon: ReactIcons.FaCalendar }, { label: 'Develop', value: 'Develop', icon: ReactIcons.FaUser },