Skip to content

Commit

Permalink
Merge pull request #182 from upendraTekdi/shiksha-2.0
Browse files Browse the repository at this point in the history
Issue #PS-312 feat:View Teacher profile UI fixes ,url name change as profile
  • Loading branch information
itsvick authored May 31, 2024
2 parents 35259af + 0b414e1 commit 994c50f
Show file tree
Hide file tree
Showing 3 changed files with 259 additions and 140 deletions.
4 changes: 2 additions & 2 deletions src/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ const Header: React.FC = () => {
}));

const handleProfileClick = () => {
if (pathname !== '/teacher-profile') {
router.push('/teacher-profile');
if (pathname !== '/profile') {
router.push('/profile');
}
};
const handleLogoutClick = () => {
Expand Down
Loading

0 comments on commit 994c50f

Please sign in to comment.