example of no-unstable-context-value (#25279)
This commit is contained in:
@@ -850,9 +850,7 @@ const Configuration: FC = () => {
|
||||
<Loading type='area' />
|
||||
</div>
|
||||
}
|
||||
|
||||
return (
|
||||
<ConfigContext.Provider value={{
|
||||
const value = {
|
||||
appId,
|
||||
isAPIKeySet,
|
||||
isTrailFinished: false,
|
||||
@@ -926,8 +924,9 @@ const Configuration: FC = () => {
|
||||
isShowAudioConfig,
|
||||
rerankSettingModalOpen,
|
||||
setRerankSettingModalOpen,
|
||||
}}
|
||||
>
|
||||
}
|
||||
return (
|
||||
<ConfigContext.Provider value={value}>
|
||||
<FeaturesProvider features={featuresData}>
|
||||
<MittProvider>
|
||||
<div className="flex h-full flex-col">
|
||||
|
Reference in New Issue
Block a user