Skip to content

Commit 9643a89

Browse files
committed
SEO Optimized
1 parent 7c18cf4 commit 9643a89

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

components/Map/MapAutoComplete.jsx

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -57,17 +57,18 @@ const SearchInput = compose(
5757
return (
5858
<div className="map_autocomplete">
5959
<StandaloneSearchBox ref={refs} onPlacesChanged={onPlacesChanged}>
60-
<Input
61-
id="map_autocomplete_input"
62-
type="text"
63-
addonBefore=" "
64-
defaultValue=""
65-
value={locationInput.searchedLocation || ''}
66-
placeholder="Search “Vietnam, Asia”"
67-
size="large"
68-
onChange={handleOnChange}
69-
onPressEnter={handleOnPressEnter}
70-
/>
60+
<label>
61+
Search “Vietnam, Asia”
62+
<Input
63+
id="map_autocomplete_input"
64+
type="text"
65+
defaultValue=""
66+
value={locationInput.searchedLocation || ''}
67+
size="large"
68+
onChange={handleOnChange}
69+
onPressEnter={handleOnPressEnter}
70+
/>
71+
</label>
7172
</StandaloneSearchBox>
7273
</div>
7374
);

0 commit comments

Comments
 (0)