Skip to content

Commit d2ef645

Browse files
committed
Updating README
1 parent 4d0cafa commit d2ef645

File tree

9 files changed

+10
-5
lines changed

9 files changed

+10
-5
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,8 @@ Link to API: [https://airbnb-clone-mm.herokuapp.com/](https://airbnb-clone-mm.he
66

77
## Screens
88

9-
![landing](./client/src/Images/landing.png)
9+
![landing](./client/src/Images/Landing.png)
10+
![login](./client/src/Images/Login.png)
11+
![listings](./client/src/Images/Listings.png)
12+
![listing](./client/src/Images/Listing.png)
13+
![create](./client/src/Images/Create.png)

client/src/Components/GeoSuggest/index.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,11 @@ export class GeoSuggest extends React.PureComponent {
99
public render() {
1010
return (
1111
<Subscribe to={[Location]}>
12-
{({ setPlace }: Location) => (
12+
{({ setPlace, state: { place } }: Location) => (
1313
<Geosuggest
14+
initialValue={place.toString()}
1415
placeholder="Enter a location"
15-
onSuggestSelect={place => setPlace(place)}
16+
onSuggestSelect={value => setPlace(value)}
1617
location={new google.maps.LatLng(53.558572, 9.9278215)}
1718
radius={20}
1819
/>

client/src/Images/Create.png

31.6 KB
Loading

client/src/Images/Landing.png

1.33 MB
Loading

client/src/Images/Listing.png

855 KB
Loading

client/src/Images/Listings.png

1.05 MB
Loading

client/src/Images/Login.png

747 KB
Loading

client/src/Images/landing.png

-1.28 MB
Binary file not shown.

client/src/apollo.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import { ApolloLink } from 'apollo-link'
66
import { onError } from 'apollo-link-error'
77

88
const httpLink = createHttpLink({
9-
// uri: 'https://airbnb-clone-mm.herokuapp.com'
10-
uri: 'http://localhost:4000/'
9+
uri: 'https://airbnb-clone-mm.herokuapp.com'
10+
// uri: 'http://localhost:4000/'
1111
})
1212

1313
const authLink = setContext((_, { headers }) => {

0 commit comments

Comments
 (0)