Skip to content

Commit

Permalink
ui changes
Browse files Browse the repository at this point in the history
  • Loading branch information
adappterxyz committed Nov 5, 2024
1 parent f071c09 commit a1711c6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -533,7 +533,7 @@ const scrollToBottom = () => {
<div className={`${panelIsVisible ? 'reduced' : 'fullview'} ${isNavVisible ? 'shownav' : 'hidenav'}`} >


{activeItem === 'Bots' && <div>
{activeItem === 'Tasks' && <div>
<div className="balance-display">
<img src="chicken.png" alt="Chicken Icon"/>
<a href={scan} target="_blank" >Balance: {balance} CKN </a>
Expand Down
3 changes: 2 additions & 1 deletion src/components/nav/LeftNavBar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 },


Expand Down

0 comments on commit a1711c6

Please sign in to comment.