diff --git a/client/src/components/profile/Profile.js b/client/src/components/profile/Profile.js index 1d8084ac70..852bc56461 100644 --- a/client/src/components/profile/Profile.js +++ b/client/src/components/profile/Profile.js @@ -20,6 +20,7 @@ const propTypes = { isLocked: PropTypes.bool, showAbout: PropTypes.bool, showCerts: PropTypes.bool, + showDonation: PropTypes.bool, showHeatMap: PropTypes.bool, showLocation: PropTypes.bool, showName: PropTypes.bool, @@ -97,6 +98,7 @@ function renderProfile(user) { profileUI: { showAbout = false, showCerts = false, + showDonation = false, showHeatMap = false, showLocation = false, showName = false, @@ -126,12 +128,14 @@ function renderProfile(user) { isDonating } = user; + console.log(showDonation); + return ( renders correctly 1`] = `
- string's avatar +
+ string's avatar +
@@ -87,7 +86,7 @@ function Camper({
- {avatar} +
{avatar}