fix: respect about's privacy settings (#42714)
This commit is contained in:
committed by
GitHub
parent
9952a5592f
commit
457b102181
@ -126,7 +126,7 @@ function renderProfile(user: IProfileProps['user']): JSX.Element {
|
||||
return (
|
||||
<Fragment>
|
||||
<Camper
|
||||
about={about}
|
||||
about={showAbout ? about : ''}
|
||||
githubProfile={githubProfile}
|
||||
isDonating={showDonation ? isDonating : false}
|
||||
isGithub={isGithub}
|
||||
|
@ -136,11 +136,7 @@ exports[`<Profile/> renders correctly 1`] = `
|
||||
</h2>
|
||||
|
||||
|
||||
<p
|
||||
class="bio text-center"
|
||||
>
|
||||
string
|
||||
</p>
|
||||
|
||||
|
||||
<br />
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user