Skip to content

Commit 99d0a88

Browse files
authored
Merge pull request #2723 from PiyushChandra17/piyush/fix-mweb-username-redirection
fix username redirection on mWeb
2 parents aaefbcd + 00e0121 commit 99d0a88

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

client/modules/IDE/components/Header/MobileNav.jsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,9 @@ const MobileNav = () => {
238238
<Title>
239239
<h1>{title === project.name ? <ProjectName /> : title}</h1>
240240
{project?.owner && title === project.name && (
241-
<h5>by {project?.owner?.username}</h5>
241+
<Link to={`/${project.owner.username}/sketches`}>
242+
by {project?.owner?.username}
243+
</Link>
242244
)}
243245
</Title>
244246
{/* check if the user is in login page */}

0 commit comments

Comments
 (0)