We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27c68f8 commit 53ad9bcCopy full SHA for 53ad9bc
client/modules/IDE/components/Header/Nav.jsx
@@ -137,14 +137,23 @@ const ProjectMenu = () => {
137
return (
138
<ul className="nav__items-left">
139
<li className="nav__item-logo">
140
- <Link to={userSketches}>
+ {user && user.username !== undefined ? (
141
+ <Link to={userSketches}>
142
+ <LogoIcon
143
+ role="img"
144
+ aria-label={t('Common.p5logoARIA')}
145
+ focusable="false"
146
+ className="svg__logo"
147
+ />
148
+ </Link>
149
+ ) : (
150
<LogoIcon
151
role="img"
152
aria-label={t('Common.p5logoARIA')}
153
focusable="false"
154
className="svg__logo"
155
/>
- </Link>
156
+ )}
157
</li>
158
<NavDropdownMenu id="file" title={t('Nav.File.Title')}>
159
<NavMenuItem onClick={newSketch}>{t('Nav.File.New')}</NavMenuItem>
0 commit comments