mirror of
https://github.com/langgenius/dify.git
synced 2026-05-04 01:18:05 +08:00
service
This commit is contained in:
@ -10,3 +10,7 @@ export function useFeatures<T>(selector: (state: FeatureStoreState) => T): T {
|
||||
|
||||
return useStore(store, selector)
|
||||
}
|
||||
|
||||
export function useFeaturesStore() {
|
||||
return useContext(FeaturesContext)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user