feat: show more usage info in billing page (#4808)
This commit is contained in:
parent
11f173693b
commit
a7fb1ffcd8
12 changed files with 134 additions and 23 deletions
|
|
@ -40,7 +40,7 @@ const ModalContext = createContext<{
|
|||
setShowApiBasedExtensionModal: Dispatch<SetStateAction<ModalState<ApiBasedExtension> | null>>
|
||||
setShowModerationSettingModal: Dispatch<SetStateAction<ModalState<ModerationConfig> | null>>
|
||||
setShowExternalDataToolModal: Dispatch<SetStateAction<ModalState<ExternalDataTool> | null>>
|
||||
setShowPricingModal: Dispatch<SetStateAction<any>>
|
||||
setShowPricingModal: () => void
|
||||
setShowAnnotationFullModal: () => void
|
||||
setShowModelModal: Dispatch<SetStateAction<ModalState<ModelModalType> | null>>
|
||||
}>({
|
||||
|
|
@ -50,7 +50,7 @@ const ModalContext = createContext<{
|
|||
setShowExternalDataToolModal: () => { },
|
||||
setShowPricingModal: () => { },
|
||||
setShowAnnotationFullModal: () => { },
|
||||
setShowModelModal: () => {},
|
||||
setShowModelModal: () => { },
|
||||
})
|
||||
|
||||
export const useModalContext = () => useContext(ModalContext)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue