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_OWNERS_BY_ID_FOR_AUTOCOMPLETE, SEARCH_OWNERS_FOR_AUTOCOMPLETE } from "../../graphql/owners.queries";
|
||||
import AlertComponent from "../alert/alert.component";
|
||||
import { OwnerNameDisplayFunction } from "../owner-name-display/owner-name-display.component";
|
||||
@@ -47,8 +47,8 @@ const OwnerSearchSelect = ({ value, onChange, onBlur, disabled }, ref) => {
|
||||
};
|
||||
|
||||
const theOptions = [
|
||||
...(idData && idData.owners_by_pk ? [idData.owners_by_pk] : []),
|
||||
...(data && data.search_owners ? data.search_owners : [])
|
||||
...(idData?.owners_by_pk ? [idData.owners_by_pk] : []),
|
||||
...(data?.search_owners ? data.search_owners : [])
|
||||
];
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user