Fix model picker optional close prop
Co-authored-by: Julius Marminge <[email protected]>
This commit is contained in:
1 parent
0b3a318d19
commit
8481e20015
1 file changed
+1
-1
@@ -670,8 +670,8 @@ export const ModelPickerContent = memo(function ModelPickerContent(props: {
|
||||
<ModelPickerSearchInput
|
||||
inputRef={searchInputRef}
|
||||
onNormalizedSearchQueryChange={setSearchQuery}
|
||||
onRequestClose={props.onRequestClose}
|
||||
onSelectHighlightedModel={selectHighlightedModel}
|
||||
{...(props.onRequestClose ? { onRequestClose: props.onRequestClose } : {})}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user