fix: respect about's privacy settings (#42714)

This commit is contained in:
Oliver Eyton-Williams
2021-07-02 14:41:13 +02:00
committed by GitHub
parent 9952a5592f
commit 457b102181
2 changed files with 2 additions and 6 deletions

View File

@ -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}

View File

@ -136,11 +136,7 @@ exports[`<Profile/> renders correctly 1`] = `
</h2> </h2>
<p
class="bio text-center"
>
string
</p>
<br /> <br />
</div> </div>