Skip to content

Commit

Permalink
chore: make linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhedonia committed Mar 12, 2018
1 parent d8c20fc commit 158ef96
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 35 deletions.
4 changes: 2 additions & 2 deletions packages/article/get-lead-asset.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export default function getLeadAsset({ type, leadAsset: asset }) {
export default function getLeadAsset({ leadAsset: asset }) {
if (!asset) return { isVideo: false, leadAsset: null };

const isVideo = asset.type === 'Video';
const isVideo = asset.type === "Video";
const leadAsset = isVideo ? asset.posterImage : asset;

return {
Expand Down
2 changes: 1 addition & 1 deletion packages/icons/icons/video.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const IconVideo = ({ width, height, fillColour }) => (
IconVideo.propTypes = iconPropTypes;

IconVideo.defaultProps = {
fillColour: colours.functional.timesBlack
fillColour: colours.functional.brandColour
};

export default IconVideo;
2 changes: 1 addition & 1 deletion packages/video-label/style/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { fonts } from "@times-components/styleguide";

const shared = {
const shared = {
fontFamily: fonts.supporting,
fontSize: 12,
lineHeight: 12,
Expand Down
31 changes: 0 additions & 31 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -358,37 +358,6 @@
webpack-dev-server "^2.9.5"
webpack-merge "^4.1.1"

"@times-components/icons@0.2.0":
version "0.2.0"
resolved "https://registry.yarnpkg.com/@times-components/icons/-/icons-0.2.0.tgz#0025a9b27c8f9f3cc88a2088d7b456093c5d0bf4"
dependencies:
"@times-components/styleguide" "0.3.7"
prop-types "15.6.0"
svgs "3.2.1"

"@times-components/responsive-styles@0.4.2":
version "0.4.2"
resolved "https://registry.yarnpkg.com/@times-components/responsive-styles/-/responsive-styles-0.4.2.tgz#93744fc754a5e12841f2f723a1c37046d23c6ee9"
dependencies:
prop-types "15.6.0"
styled-components "2.2.3"

"@times-components/styleguide@0.3.7":
version "0.3.7"
resolved "https://registry.yarnpkg.com/@times-components/styleguide/-/styleguide-0.3.7.tgz#b564e82425be82169813ec7d6bc2295a0c8f1dba"
dependencies:
"@times-components/responsive-styles" "0.4.2"
prop-types "15.6.0"

"@times-components/video-label@0.1.0":
version "0.1.0"
resolved "https://registry.yarnpkg.com/@times-components/video-label/-/video-label-0.1.0.tgz#f8a69bf01644c79f7b295eba68563af3f65d57ff"
dependencies:
"@times-components/icons" "0.2.0"
"@times-components/styleguide" "0.3.7"
lodash.invert "4.3.0"
prop-types "15.6.0"

"@types/async@2.0.47":
version "2.0.47"
resolved "https://registry.yarnpkg.com/@types/async/-/async-2.0.47.tgz#f49ba1dd1f189486beb6e1d070a850f6ab4bd521"
Expand Down

0 comments on commit 158ef96

Please sign in to comment.