diff --git a/landing/landing.react.js b/landing/landing.react.js
--- a/landing/landing.react.js
+++ b/landing/landing.react.js
@@ -76,15 +76,21 @@
}
}, [onKeyservers, onPrivacy, onSupport, onTerms, onTeam, onInvestors, onQR]);
- let header = ;
- if (onQR) {
- header = null;
- }
+ const header = React.useMemo(() => {
+ if (onQR) {
+ return null;
+ }
- let footer = ;
- if (onQR) {
- footer = null;
- }
+ return ;
+ }, [onQR]);
+
+ const footer = React.useMemo(() => {
+ if (onQR) {
+ return null;
+ }
+
+ return ;
+ }, [onQR]);
return (