Re-run updated Prettier

This commit is contained in:
Bruno Lemos
2018-10-18 14:48:28 -03:00
parent 0f29e194a1
commit 1d5cc1d74a
4 changed files with 14 additions and 11 deletions

View File

@@ -45,7 +45,9 @@ const styles = StyleSheet.create({
} as ViewStyle,
})
export class NotificationCardHeader extends PureComponent<NotificationCardHeaderProps> {
export class NotificationCardHeader extends PureComponent<
NotificationCardHeaderProps
> {
render() {
const {
cardIconColor,

View File

@@ -6,7 +6,10 @@ import { fixURL, GitHubURLOptions } from '../../../../utils/helpers/github/url'
const baseURL = 'https://github.com'
export const getGitHubURLPressHandler = memoize(
(url?: string, { commentId, issueOrPullRequestNumber }: GitHubURLOptions = {}) => {
(
url?: string,
{ commentId, issueOrPullRequestNumber }: GitHubURLOptions = {},
) => {
const fixedURL = fixURL(url, { commentId, issueOrPullRequestNumber })
return fixedURL ? () => Browser.openURL(fixedURL) : undefined
},

View File

@@ -14,7 +14,10 @@ export interface IntervalRefreshState {
const defaultInterval = 1000
export class IntervalRefresh extends PureComponent<IntervalRefreshProps, IntervalRefreshState> {
export class IntervalRefresh extends PureComponent<
IntervalRefreshProps,
IntervalRefreshState
> {
static defaultProps = {
interval: defaultInterval,
}

View File

@@ -85,14 +85,9 @@ function getProps(from: From, size: number) {
}
}
const GradientLayerOverlay: SFC<TransparentTextOverlayProps & { from: From }> = ({
color,
from,
radius,
size,
style,
...props
}) => (
const GradientLayerOverlay: SFC<
TransparentTextOverlayProps & { from: From }
> = ({ color, from, radius, size, style, ...props }) => (
<LinearGradient
colors={[rgba(color, 0), color]}
style={[