1
2
3
4
5
6
7
8
9
10
11
12
13
14
| import { useCallback, useMemo } from 'react';
| import { useDataProvider, useGetIdentity } from 'react-admin';
|
| export function useCodeImport() {
|
| const processBatch = useCallback(async (batch) => {
| console.log(batch);
|
| }, []);
|
| return {
| processBatch,
| };
| }
|
|