mirror of
https://github.com/PeWu/topola-viewer.git
synced 2026-07-17 17:21:48 +00:00
Fix visual tests
This commit is contained in:
@@ -86,7 +86,7 @@ export const SearchBar = React.memo(function SearchBar(props: Props) {
|
|||||||
);
|
);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="item" ref={wrapperRef}>
|
<div ref={wrapperRef}>
|
||||||
<Search
|
<Search
|
||||||
onSearchChange={(_, data) => props.onSearchChange(data.value || '')}
|
onSearchChange={(_, data) => props.onSearchChange(data.value || '')}
|
||||||
onResultSelect={(_, data) => props.onResultSelect(data.result.id)}
|
onResultSelect={(_, data) => props.onResultSelect(data.result.id)}
|
||||||
|
|||||||
Reference in New Issue
Block a user