Skip to content

Commit

Permalink
Fix search result item key
Browse files Browse the repository at this point in the history
  • Loading branch information
smdsgn committed Nov 14, 2024
1 parent 35e149d commit e9b37c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/scripts/components/widgets/SearchBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ const SearchBar: React.FC<SearchBarProps> = ({ createUrl }) => {
const isDisabled = territory.area === 0;
return (
<ResultItem
key={territory.id}
key={territory.source_id}
$disabled={isDisabled}
onClick={() => createDiagnostic(territory.public_key, isDisabled)}
>
Expand Down

0 comments on commit e9b37c3

Please sign in to comment.