From c2eaac67295b092ffc91dbd9a35ededfed057d99 Mon Sep 17 00:00:00 2001 From: jessop Date: Thu, 23 Jan 2020 13:44:55 -0500 Subject: [PATCH] review changes --- .lintstagedrc.json | 1 + lbrytv/component/{ad/index.jsx => ads.jsx} | 16 ++++++++++------ ui/component/sideNavigation/view.jsx | 2 +- ui/scss/component/_navigation.scss | 2 -- ui/scss/init/_vars.scss | 1 - 5 files changed, 12 insertions(+), 10 deletions(-) rename lbrytv/component/{ad/index.jsx => ads.jsx} (67%) diff --git a/.lintstagedrc.json b/.lintstagedrc.json index 38c99b105..b3430d6a4 100644 --- a/.lintstagedrc.json +++ b/.lintstagedrc.json @@ -1,6 +1,7 @@ { "linters": { "ui/**/*.{js,jsx,scss,json}": ["prettier --write", "git add"], + "lbrytv/component/*.{js,jsx,scss,json}": ["prettier --write", "git add"], "ui/**/*.{js,jsx}": ["eslint", "flow focus-check --color always", "git add"] } } diff --git a/lbrytv/component/ad/index.jsx b/lbrytv/component/ads.jsx similarity index 67% rename from lbrytv/component/ad/index.jsx rename to lbrytv/component/ads.jsx index 01b62663c..e7162f434 100644 --- a/lbrytv/component/ad/index.jsx +++ b/lbrytv/component/ads.jsx @@ -15,19 +15,23 @@ function Extra(props) { document.body.removeChild(script); // if user navigates too rapidly,