Lint all the things
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { HeartOutlined } from "@ant-design/icons";
|
||||
import { Select, Space, Tag } from "antd";
|
||||
import React, { forwardRef, useEffect, useState } from "react";
|
||||
import { forwardRef, useEffect, useState } from "react";
|
||||
import PhoneNumberFormatter from "../../utils/PhoneFormatter";
|
||||
|
||||
const { Option } = Select;
|
||||
@@ -29,7 +29,7 @@ const VendorSearchSelect = ({ value, onChange, options, onSelect, disabled, pref
|
||||
style={{
|
||||
width: "100%"
|
||||
}}
|
||||
labelRender={({ label, value, ...rest }) => {
|
||||
labelRender={({ label, value }) => {
|
||||
if (!value || !options) return label;
|
||||
const discount = options?.find((o) => o.id === value)?.discount;
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user