diff --git a/app/AddFence.js b/app/AddFence.js index 625008a..043d209 100644 --- a/app/AddFence.js +++ b/app/AddFence.js @@ -2,6 +2,7 @@ import React, { Component } from 'react'; import { View, Text, StyleSheet, Button, Picker, ListView } from 'react-native'; import {GooglePlacesAutocomplete} from 'react-native-google-places-autocomplete'; import AuthAxios from './AuthAxios.js'; +import styles from './styles.js'; const Item = Picker.Item export default class AddFence extends Component { @@ -69,12 +70,12 @@ export default class AddFence extends Component { renderFence(fence) { return ( - - + + {fence.label} - - {fence.address}{'\n'}{'\n'} + + {fence.address} ) @@ -82,13 +83,11 @@ export default class AddFence extends Component { render() { return ( - - - - + +