CEC-464 can filters forms (#118)
* can filters forms and lists * unit tests * updating warnings and tests * merge develop * fixed snapshots * update jest mocks * updating tests
This commit is contained in:
@@ -5,7 +5,7 @@ import api from "../../services/vehiclesAPI";
|
||||
const VehicleContext = React.createContext();
|
||||
|
||||
const validateAdd = (vehicle) => {
|
||||
if (vehicle === null) {
|
||||
if (vehicle == null) {
|
||||
throw new Error("No vehicle data");
|
||||
}
|
||||
|
||||
@@ -175,7 +175,7 @@ export const VehicleProvider = ({ children }) => {
|
||||
getState,
|
||||
getYears,
|
||||
getVehicles,
|
||||
sendCommand,
|
||||
sendCommand
|
||||
}}
|
||||
>
|
||||
{children}
|
||||
|
||||
Reference in New Issue
Block a user