Lint all the things
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import React, { useState } from "react";
|
||||
import { useState } from "react";
|
||||
import { Button, Form, Popconfirm } from "antd";
|
||||
import { PageHeader } from "@ant-design/pro-layout";
|
||||
import { useMutation } from "@apollo/client";
|
||||
@@ -46,7 +46,7 @@ function VehicleDetailFormContainer({ vehicle, refetch }) {
|
||||
variables: { vehId: vehicle.id, vehicle: values }
|
||||
});
|
||||
|
||||
if (!!result.errors) {
|
||||
if (result.errors) {
|
||||
notification["error"]({
|
||||
message: t("vehicles.errors.saving", {
|
||||
message: JSON.stringify(result.errors)
|
||||
|
||||
Reference in New Issue
Block a user