Lint all the things
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { useSplitTreatments } from "@splitsoftware/splitio-react";
|
||||
import { Form, Input, InputNumber, Modal, Select, Switch } from "antd";
|
||||
import React, { useEffect } from "react";
|
||||
import { useEffect } from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import InputCurrency from "../form-items-formatted/currency-form-item.component";
|
||||
import JoblinesPreset from "../job-lines-preset-button/job-lines-preset-button.component";
|
||||
@@ -13,7 +13,7 @@ import { selectBodyshop } from "../../redux/user/user.selectors";
|
||||
const mapStateToProps = createStructuredSelector({
|
||||
bodyshop: selectBodyshop
|
||||
});
|
||||
const mapDispatchToProps = (dispatch) => ({
|
||||
const mapDispatchToProps = () => ({
|
||||
//setUserLanguage: language => dispatch(setUserLanguage(language))
|
||||
});
|
||||
export default connect(mapStateToProps, mapDispatchToProps)(JobLinesUpsertModalComponent);
|
||||
@@ -36,7 +36,7 @@ export function JobLinesUpsertModalComponent({ bodyshop, open, jobLine, handleCa
|
||||
|
||||
return (
|
||||
<Modal
|
||||
title={jobLine && jobLine.id ? t("joblines.labels.edit") : t("joblines.labels.new")}
|
||||
title={jobLine?.id ? t("joblines.labels.edit") : t("joblines.labels.new")}
|
||||
forceRender
|
||||
open={open}
|
||||
width="60%"
|
||||
|
||||
Reference in New Issue
Block a user