Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit bf67cb8

Browse files
committed
change link
1 parent 129f536 commit bf67cb8

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/components/NavBar/index.jsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,9 @@ const NavBar = ({ hideSwitchTools }) => {
5151
[setActiveApp]
5252
);
5353

54-
const renderTopcoderLogo = hideSwitchTools ? null : (
54+
const renderTopcoderLogo = hideSwitchTools ? (
55+
<img src={TCLogo} alt="Topcoder Logo" />
56+
) : (
5557
<Link to="/">
5658
<img src={TCLogo} alt="Topcoder Logo" />
5759
</Link>
@@ -67,7 +69,7 @@ const NavBar = ({ hideSwitchTools }) => {
6769
) : (
6870
<Fragment>
6971
{renderTopcoderLogo}
70-
{hideSwitchTools ? null : <div className="navbar-divider"></div>}
72+
<div className="navbar-divider"></div>
7173
<div className="navbar-app-title">
7274
{activeApp ? activeApp.title : ""}
7375
</div>
@@ -105,7 +107,7 @@ const NavBar = ({ hideSwitchTools }) => {
105107
) : (
106108
<Fragment>
107109
{hideSwitchTools ? null : <AllAppsMenu appChange={changeApp} />}
108-
{hideSwitchTools ? null : <div className="navbar-divider"></div>}
110+
<div className="navbar-divider"></div>
109111
{auth.isInitialized &&
110112
(auth.tokenV3 ? (
111113
auth.profile && (

0 commit comments

Comments
 (0)