Lint all the things
This commit is contained in:
@@ -2,7 +2,7 @@ import { LoadingOutlined } from "@ant-design/icons";
|
||||
import { useLazyQuery } from "@apollo/client";
|
||||
import { Empty, Select } from "antd";
|
||||
import _ from "lodash";
|
||||
import React, { forwardRef, useEffect, useState } from "react";
|
||||
import { forwardRef, useEffect, useState } from "react";
|
||||
import {
|
||||
SEARCH_VEHICLES_BY_ID_FOR_AUTOCOMPLETE,
|
||||
SEARCH_VEHICLES_FOR_AUTOCOMPLETE
|
||||
@@ -49,8 +49,8 @@ const VehicleSearchSelect = ({ value, onChange, onBlur, disabled }, ref) => {
|
||||
};
|
||||
|
||||
const theOptions = [
|
||||
...(idData && idData.vehicles_by_pk ? [idData.vehicles_by_pk] : []),
|
||||
...(data && data.search_vehicles ? data.search_vehicles : [])
|
||||
...(idData?.vehicles_by_pk ? [idData.vehicles_by_pk] : []),
|
||||
...(data?.search_vehicles ? data.search_vehicles : [])
|
||||
];
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user