Skip to content

Commit

Permalink
[gn] don't autofocus add input
Browse files Browse the repository at this point in the history
  • Loading branch information
a-type committed Nov 13, 2024
1 parent 93f6ca0 commit 12becdd
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions apps/gnocchi/web/src/components/addBar/AddPane.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,6 @@ const AddPaneImpl = forwardRef<
useEffect(() => {
if (disabled) {
inputRef.current?.blur();
} else {
inputRef.current?.focus();
}
}, [disabled]);

Expand Down

0 comments on commit 12becdd

Please sign in to comment.