Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User profile, user profile test and navbar test #126

Merged
merged 10 commits into from
Apr 24, 2024
Merged

Conversation

uo287841
Copy link
Contributor

Creates an userProfile where the user can check its own personal rankings.

@@ -38,6 +39,9 @@ function Navbar() {
<li>
<Link class="block py-2 px-3 text-gray-900 rounded hover:bg-gray-100 md:hover:bg-transparent md:hover:text-blue-700 md:p-0 md:dark:hover:text-blue-500 dark:text-white dark:hover:bg-gray-700 dark:hover:text-white md:dark:hover:bg-transparent dark:border-gray-700" to="/rankings">Rankings</Link>
</li>
{isAuthenticated() && (
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please don't use && in async checks as i tcan leads to problems it's better to use ?

@andrrsin andrrsin merged commit 2617add into develop Apr 24, 2024
1 check passed
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
52.1% Coverage on New Code (required ≥ 80%)

See analysis details on SonarCloud

@andrrsin andrrsin deleted the user_profile branch April 27, 2024 20:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants