import React from "react"; import { useNavigate } from 'react-router-dom' import '../UtilComponents/App.css' const Drivers = (props) => { const navigate = useNavigate(); const makeRequestForDriver = async (driverId, driverName) => { navigate('/make-request', {state: {driverId: driverId, driverName: driverName}}) }; return(
Status: {term.status}
Price per kilometer: {term.pricePerKm} MKD
Level: {term.level}
Number of grades: {term.numGrades}
Grade: {term.grade}