Lint all the things
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { useMutation } from "@apollo/client";
|
||||
import { Button, Form, Popover } from "antd";
|
||||
import React, { useState } from "react";
|
||||
import { useState } from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { connect } from "react-redux";
|
||||
import { createStructuredSelector } from "reselect";
|
||||
@@ -47,7 +47,7 @@ export function PartsOrderLineBackorderButton({ partsOrderStatus, partsLineId, j
|
||||
}
|
||||
});
|
||||
|
||||
if (!!result.errors) {
|
||||
if (result.errors) {
|
||||
notification["error"]({
|
||||
message: t("parts_orders.errors.backordering", {
|
||||
message: JSON.stringify(result.errors)
|
||||
@@ -59,7 +59,7 @@ export function PartsOrderLineBackorderButton({ partsOrderStatus, partsLineId, j
|
||||
setLoading(false);
|
||||
};
|
||||
|
||||
const handlePopover = (e) => {
|
||||
const handlePopover = () => {
|
||||
if (isAlreadyBackordered) {
|
||||
handleFinish();
|
||||
//Receive the part.
|
||||
|
||||
Reference in New Issue
Block a user