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 (
|
return (
|
||||||
<Fragment>
|
<Fragment>
|
||||||
<Camper
|
<Camper
|
||||||
about={about}
|
about={showAbout ? about : ''}
|
||||||
githubProfile={githubProfile}
|
githubProfile={githubProfile}
|
||||||
isDonating={showDonation ? isDonating : false}
|
isDonating={showDonation ? isDonating : false}
|
||||||
isGithub={isGithub}
|
isGithub={isGithub}
|
||||||
|
@ -136,11 +136,7 @@ exports[`<Profile/> renders correctly 1`] = `
|
|||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
|
|
||||||
<p
|
|
||||||
class="bio text-center"
|
|
||||||
>
|
|
||||||
string
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<br />
|
<br />
|
||||||
</div>
|
</div>
|
||||||
|
Reference in New Issue
Block a user