fix: cannot show window in mini and hide status (#7943)
* feat(ProtocolClient): show main window on protocol URL handling * refactor(ProtocolClient): remove main window display logic; update handleProviders to show window on macOS * fix lint --------- Co-authored-by: rcadmin <rcadmin@rcadmins-MacBook-Pro-4.local>
This commit is contained in:
@@ -259,7 +259,8 @@ const ProvidersList: FC = () => {
|
||||
window.message.error(t('settings.models.provider_key_add_failed_by_invalid_data'))
|
||||
window.navigate('/settings/provider')
|
||||
}
|
||||
}, [addProvider, providers, searchParams, t, updateProvider])
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
}, [searchParams])
|
||||
|
||||
const onDragEnd = (result: DropResult) => {
|
||||
setDragging(false)
|
||||
|
||||
Reference in New Issue
Block a user