Skip to content

Commit

Permalink
Remove placeholder variable
Browse files Browse the repository at this point in the history
  • Loading branch information
sashachabin committed Nov 5, 2023
1 parent d0882f1 commit b3440d4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions client/components/Map/SearchBar/SearchBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ import { searchThroughUnits } from './SearchBar.helpers';

const cn = classNames.bind(styles);

const INPUT_PLACEHOLDER = 'Поиск';

export function MapSearchBar() {
const searchBarRef = useRef<HTMLDivElement>(null);
const [searchResult, setSearchResult] = useState<{ stops: StrapiStop[]; units: Unit[] }>({
Expand Down Expand Up @@ -78,7 +76,7 @@ export function MapSearchBar() {
<img src="/icons/search.svg" alt="" />
<input
type="search"
placeholder={INPUT_PLACEHOLDER}
placeholder="Поиск"
onInput={onSearch}
className={cn(styles.MapSearchBar__input)}
/>
Expand Down

0 comments on commit b3440d4

Please sign in to comment.