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
removed github link for bots #1006
Conversation
@@ -92,10 +89,15 @@ const UserProfile = () => { | |||
</div> | |||
<h1 className="mt-5 mb-0"> | |||
{stats.user.name} | |||
{stats.user.githubId && ( | |||
<a className="text-muted" href={`https://github.com/${stats.user.githubName}`}> | |||
{stats.user.githubId && stats.user.githubName ? ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
better to do just
stats.user.githubName
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Surtt И еще вопрос, зачем было переходить на тернарный оператор?
@@ -92,10 +89,15 @@ const UserProfile = () => { | |||
</div> | |||
<h1 className="mt-5 mb-0"> | |||
{stats.user.name} | |||
{stats.user.githubId && ( | |||
<a className="text-muted" href={`https://github.com/${stats.user.githubName}`}> | |||
{stats.user.githubId && stats.user.githubName ? ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Surtt И еще вопрос, зачем было переходить на тернарный оператор?
Codecov Report
@@ Coverage Diff @@
## master #1006 +/- ##
==========================================
+ Coverage 72.88% 72.93% +0.05%
==========================================
Files 108 108
Lines 1966 1966
==========================================
+ Hits 1433 1434 +1
+ Misses 533 532 -1
Continue to review full report at Codecov.
|
Здорово. Поздравляю с первым принятым пр ;) |
Благодарю :) |
Yay |
closes #789
Убрал ссылку на гитхаб у ботов в профиле юзера