From 52e9708cce47e02587ba6d29fd76de32a3eef762 Mon Sep 17 00:00:00 2001 From: NejcZdovc Date: Fri, 18 Jan 2019 19:03:01 +0100 Subject: [PATCH] Fixes white screen for the banner Resolves https://github.com/brave/brave-browser/issues/2984 --- .../brave_rewards/resources/donate/components/siteBanner.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/brave_rewards/resources/donate/components/siteBanner.tsx b/components/brave_rewards/resources/donate/components/siteBanner.tsx index 402e0f9f059f..08d24c505719 100644 --- a/components/brave_rewards/resources/donate/components/siteBanner.tsx +++ b/components/brave_rewards/resources/donate/components/siteBanner.tsx @@ -154,7 +154,7 @@ class Banner extends React.Component { logoBgColor={''} onDonate={this.onDonate} onAmountSelection={this.onAmountSelection} - currentAmount={this.state.currentAmount} + currentAmount={this.state.currentAmount || '0'} onClose={this.onClose} social={this.generateSocialLinks()} showUnVerifiedNotice={!verified}