Skip to content

Commit

Permalink
prevent focus loss (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
ehicks05 authored Jan 16, 2025
1 parent b57e389 commit c25571c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/trpc-ui/src/react-app/components/HeadersPopup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,8 @@ export function HeadersPopup() {
</div>
<div className="flex flex-col space-y-2 px-4 py-2">
{headers.map(([headerKey, headerValue], i) => (
<div className="flex flex-col" key={`${headerKey}, ${headerValue}`}>
// biome-ignore lint/suspicious/noArrayIndexKey: their order doesn't change
<div className="flex flex-col" key={i}>
<div className="flex flex-row items-start">
<BaseTextField
className="flex-1"
Expand Down

0 comments on commit c25571c

Please sign in to comment.