Skip to content
This repository has been archived by the owner on Jan 13, 2023. It is now read-only.

Commit

Permalink
Fix lint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Morgan Laco committed Sep 27, 2018
1 parent b14f20e commit 90b6fbd
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion boilerplate/src/views/shared/button/button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export function Button(props: ButtonProps) {
let viewStyle
if (Array.isArray(styleOverride)) {
viewStyle = reduce((acc,term) => {
return { ...acc, ...term, }
return { ...acc, ...term }
}, viewPresetToUse, styleOverride)
} else {
viewStyle = { ...viewPresetToUse, ...styleOverride }
Expand Down
2 changes: 1 addition & 1 deletion boilerplate/src/views/shared/form-row/form-row.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export function FormRow(props: FormRowProps) {
let viewStyle
if (Array.isArray(props.style)) {
viewStyle = reduce((acc,term) => {
return { ...acc, ...term, }
return { ...acc, ...term }
}, PRESETS[props.preset], props.style)
} else {
viewStyle = {
Expand Down
2 changes: 1 addition & 1 deletion boilerplate/src/views/shared/switch/switch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import * as React from "react"
import { ViewStyle, Animated, Easing, TouchableWithoutFeedback } from "react-native"
import { color } from "../../../theme"
import { SwitchProps } from "./switch.props"
import { reduce } from "ramda";
import { reduce } from "ramda"

// dimensions
const THUMB_SIZE = 30
Expand Down
2 changes: 1 addition & 1 deletion boilerplate/src/views/shared/text-field/text-field.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { color, spacing, typography } from "../../../theme"
import { translate } from "../../../i18n"
import { Text } from "../text"
import { TextFieldProps } from "./text-field.props"
import { reduce } from "ramda";
import { reduce } from "ramda"

// the base styling for the container
const CONTAINER: ViewStyle = {
Expand Down

0 comments on commit 90b6fbd

Please sign in to comment.