Fix model picker optional close prop

Co-authored-by: Julius Marminge <[email protected]>
This commit is contained in:
Cursor AgentandJulius Marminge committed 2026-07-05 16:22:59 +00:00
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>