Page MenuHomePhabricator

D3673.id11233.diff
No OneTemporary

D3673.id11233.diff

diff --git a/landing/footer.react.js b/landing/footer.react.js
--- a/landing/footer.react.js
+++ b/landing/footer.react.js
@@ -5,8 +5,6 @@
import * as React from 'react';
import { NavLink } from 'react-router-dom';
-import { isDev } from 'lib/utils/dev-utils';
-
import css from './footer.css';
import SubscriptionForm from './subscription-form.react';
@@ -18,15 +16,6 @@
};
function Footer(): React.Node {
- let teamLink;
- if (isDev) {
- teamLink = (
- <NavLink to="/team" exact {...navLinkProps}>
- Team
- </NavLink>
- );
- }
-
return (
<footer className={css.wrapper}>
<div className={css.contentWrapper}>
@@ -40,7 +29,9 @@
<NavLink to="/support" exact {...navLinkProps}>
Support
</NavLink>
- {teamLink}
+ <NavLink to="/team" exact {...navLinkProps}>
+ Team
+ </NavLink>
<NavLink to="/terms" exact {...navLinkProps}>
Terms of Use
</NavLink>
diff --git a/landing/landing.react.js b/landing/landing.react.js
--- a/landing/landing.react.js
+++ b/landing/landing.react.js
@@ -3,8 +3,6 @@
import * as React from 'react';
import { useRouteMatch } from 'react-router-dom';
-import { isDev } from 'lib/utils/dev-utils';
-
import AppLanding from './app-landing.react';
import Footer from './footer.react';
import Header from './header.react';
@@ -38,7 +36,7 @@
return <Keyservers />;
} else if (onQR) {
return <QR />;
- } else if (isDev && onTeam) {
+ } else if (onTeam) {
return <Team />;
} else {
return <AppLanding />;

File Metadata

Mime Type
text/plain
Expires
Thu, Jan 9, 2:01 AM (5 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2825481
Default Alt Text
D3673.id11233.diff (1 KB)

Event Timeline