import { useCallback } from 'react';
export const useLogic = ({ item }) => {
    const handleActionClick = useCallback((onClick) => () => {
        onClick?.(item);
    }, [item]);
    return { handleActionClick };
};
