Skip to content

Commit

Permalink
fix type error
Browse files Browse the repository at this point in the history
  • Loading branch information
a-b-r-o-w-n committed Oct 1, 2020
1 parent 656469b commit 727e0cc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const ExtensionSearchResults: React.FC<ExtensionSearchResultsProps> = (props) =>
const selection = useRef(
new Selection({
onSelectionChanged: () => {
onSelect(selection.getSelection()[0] as ExtensionConfig);
onSelect(selection.getSelection()[0] as ExtensionSearchResult);
},
})
).current;
Expand Down

0 comments on commit 727e0cc

Please sign in to comment.