Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GH-1607/Remove feature listing #452

Merged
merged 6 commits into from Sep 25, 2019

Refactored to remove a variable

  • Loading branch information
benstrumeyer committed Sep 20, 2019
commit bb92e844f67aa38e78bcb38e59e803c2b8ea0db6
@@ -34,11 +34,10 @@ const HomeView = (props) => {
isPlus,
} = props;
const accountHref = `https://account.${globals.GHOSTERY_DOMAIN}.com`;
const browserName = globals.BROWSER_INFO.name;

let headerInfoText;
if (globals.BROWSER_INFO) {
switch (browserName) {
switch (globals.BROWSER_INFO.name) {
case 'firefox':
headerInfoText = t('hub_home_header_info_opted_out');
break;
ProTip! Use n and p to navigate between commits in a pull request.