Skip to content

Commit 5e5c83b

Browse files
committed
fix lint issues
1 parent 116277d commit 5e5c83b

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

source/views/components/markdown/list.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// @flow
22

33
import * as React from 'react'
4-
import glamorous, {View, Text} from 'glamorous-native'
4+
import glamorous, {View} from 'glamorous-native'
55
import {BaseText, Paragraph} from './formatting'
66

77
// the list itself

source/views/faqs/index.js

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// @flow
22
import * as React from 'react'
3-
import {RefreshControl} from 'react-native'
3+
import {RefreshControl, StyleSheet} from 'react-native'
44
import * as c from '../components/colors'
55
import {View, ScrollView} from 'glamorous-native'
66
import {Markdown} from '../components/markdown'
@@ -12,6 +12,12 @@ import {GH_PAGES_URL} from '../../globals'
1212

1313
const faqsUrl = GH_PAGES_URL('faqs.json')
1414

15+
const styles = StyleSheet.create({
16+
container: {
17+
paddingHorizontal: 15,
18+
},
19+
})
20+
1521
type Props = {}
1622

1723
type State = {
@@ -79,7 +85,7 @@ export class FaqView extends React.PureComponent<Props, State> {
7985
return (
8086
<ScrollView
8187
backgroundColor={c.white}
82-
contentContainerStyle={{paddingHorizontal: 15}}
88+
contentContainerStyle={styles.container}
8389
contentInsetAdjustmentBehavior="automatic"
8490
refreshControl={refreshControl}
8591
>

0 commit comments

Comments
 (0)