example of no-unstable-context-value (#25279)
This commit is contained in:
parent
9964cc202d
commit
bbc43ca50d
1 changed files with 76 additions and 77 deletions
|
|
@ -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">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue