Skip to content

Commit

Permalink
fix(frontend): Fixed a bug where you weren't able to use the autocomp…
Browse files Browse the repository at this point in the history
…lete feature
  • Loading branch information
FleetAdmiralJakob committed Jan 6, 2024
1 parent b94af83 commit 4b202d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/web/src/pages/locationsettings/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ const LocationSettings = observer(() => {
}}
value={searchValue.name}
onBlur={async () => {
await new Promise((resolve) => setTimeout(resolve, 80));
await new Promise((resolve) => setTimeout(resolve, 100));
setIsInputActive(false);
}}
onChange={(event) => {
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/pages/search/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ const Search = () => {
}}
value={searchValue.name}
onBlur={async () => {
await new Promise((resolve) => setTimeout(resolve, 80));
await new Promise((resolve) => setTimeout(resolve, 100));
setIsInputActive(false);
}}
onChange={(event) => {
Expand Down

1 comment on commit 4b202d1

@vercel
Copy link

@vercel vercel bot commented on 4b202d1 Jan 6, 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.