use-get-data-for-check-more.ts 364 B

1234567891011121314151617181920
  1. import type { ToolNodeType } from './types'
  2. import useConfig from './use-config'
  3. type Params = {
  4. id: string
  5. payload: ToolNodeType,
  6. }
  7. const useGetDataForCheckMore = ({
  8. id,
  9. payload,
  10. }: Params) => {
  11. const { getMoreDataForCheckValid } = useConfig(id, payload)
  12. return {
  13. getData: getMoreDataForCheckValid,
  14. }
  15. }
  16. export default useGetDataForCheckMore