Skip to content

Commit

Permalink
Merge pull request #194 from codeKraken19/codeKraken-bugs
Browse files Browse the repository at this point in the history
Fix Error Logging
  • Loading branch information
aabidsofi19 committed Apr 27, 2024
2 parents 722e35a + dd1c477 commit 6934ddc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions site/src/components/Navigation/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ function Navigation({ theme, toggleTheme, showSignUpButton }) {
const data = response.data;
setUserData(data);
} catch (error) {
console.error("There was a problem with your fetch operation:", error);
console.error("There was a problem with your fetch operation: ", error?.toString?.(), error );
}
};

Expand Down Expand Up @@ -165,7 +165,6 @@ function Navigation({ theme, toggleTheme, showSignUpButton }) {
Sign Up
</a>
)}
{/* <a href="https://playground.meshery.io" className="login-btn" role="button">Login</a> */}
</div>
</div>
</nav>
Expand Down

0 comments on commit 6934ddc

Please sign in to comment.