From 99a30d4b6552eda134892e2311d19faeb13c5cd9 Mon Sep 17 00:00:00 2001 From: Ahmad Abdolsaheb Date: Mon, 10 Feb 2020 16:04:49 +0300 Subject: [PATCH] fix: remove donation message for unauthorized users (#38188) Co-authored-by: Oliver Eyton-Williams --- client/src/client-only-routes/ShowCertification.js | 1 + 1 file changed, 1 insertion(+) diff --git a/client/src/client-only-routes/ShowCertification.js b/client/src/client-only-routes/ShowCertification.js index 8848af9bab..49d5ee388a 100644 --- a/client/src/client-only-routes/ShowCertification.js +++ b/client/src/client-only-routes/ShowCertification.js @@ -113,6 +113,7 @@ class ShowCertification extends Component { if ( !isDonationDisplayed && userComplete && + signedInUserName && signedInUserName === username && !isDonating ) {