#
luxiaotao1123
2024-09-19 baf8c53a9d798861451a68620cdb946083d5c8a1
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,
    };
}