Skip to content

Commit

Permalink
login bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
exodus31 committed Sep 2, 2022
1 parent 43bb73e commit c255d35
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 15 deletions.
4 changes: 2 additions & 2 deletions frontend/src/Components/Navbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ function Navbar() {
<Link className="nav-link" to="/yourprofile">Your Profile <span className="sr-only">(current)</span></Link>
</li>
<li className="nav-item">
<Link className="nav-link" to="/" onClick={handleLogout()}>Logout <span className="sr-only">(current)</span></Link>
<Link className="nav-link" to="/" onClick={handleLogout}>Logout <span className="sr-only">(current)</span></Link>
</li>
</>
) : (
Expand Down Expand Up @@ -99,7 +99,7 @@ function Navbar() {
<button className="btnnav2">Your Profile</button>
</Link>
<Link to="/">
<button className=" btnnav2" onClick={handleLogout()}>Logout</button>
<button className=" btnnav2" onClick={handleLogout}>Logout</button>
</Link>
</>
) : (
Expand Down
24 changes: 11 additions & 13 deletions frontend/src/Components/Timeline.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,21 @@ function Schedule() {
<table className='tabtop leaderboard scrollTable'>
<tbody>
<tr>
<th className='thtop'>Beginner</th>
</tr>
<th className='thtop'>Beginner</th>
<th className='thtop'>Advacned</th>
</tr>
<tr>
<td className="tdtop">
<div className="anythinglisting4">
<ul>
<li>C++ Basics I</li>
<li>C++ Basics II</li>
<li>Time Complexity And Basic Problem Solving</li>
<li>Recursion Backtracking</li>
<li>Searching Sorting And Two Pointers</li>
<li>STL I</li>
<li>STL II</li>
<li>Prefix Sum, Circular Arrys And Difference Arrays</li>
<li>Number Theory I</li>
<li>Number Theory II</li>
<li>Bit Manipulation</li>
<li>C++ Basics I</li>
</ul>
</div>
</td>
<td className="tdtop">
<div className="anythinglisting4">
<ul>
<li>C++ Basics I</li>
</ul>
</div>
</td>
Expand Down

0 comments on commit c255d35

Please sign in to comment.