Skip to content

Commit

Permalink
refactor: Improved the experience of the search input if the user con…
Browse files Browse the repository at this point in the history
…firms his input
  • Loading branch information
FleetAdmiralJakob committed Jan 14, 2024
1 parent e4817d7 commit cef7fd5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions apps/web/src/pages/locationsettings/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ const LocationSettings = observer(() => {
};

const searchCity = () => {
inputRef.current?.blur();
let city: ICity | undefined = {
id: 0,
name: "",
Expand Down
1 change: 1 addition & 0 deletions apps/web/src/pages/search/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ const Search = () => {

// Gets called if the user clicks on the "continue" button or press enter
const searchCity = () => {
inputRef.current?.blur();
let city: ICity | undefined = {
id: 0,
name: "",
Expand Down

1 comment on commit cef7fd5

@vercel
Copy link

@vercel vercel bot commented on cef7fd5 Jan 14, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.