Blame view

src/models/enum.ts 272 Bytes
1
2
3
4
5
6
7
8
9
10
import { postServiceConstPayees } from '@/services';
import { useCallback } from 'react';

export default () => {
  const getPayees = useCallback(async () => {
    const result = await postServiceConstPayees();
    return result.data;
  }, []);
  return { getPayees };
};