Lint all the things
This commit is contained in:
@@ -1,23 +1,16 @@
|
||||
import React from 'react';
|
||||
import { connect } from "react-redux";
|
||||
import { createStructuredSelector } from "reselect";
|
||||
import JobTotalsTableTotals from "../job-totals-table/job-totals.table.totals.component";
|
||||
import { Card } from "antd";
|
||||
import { t } from "i18next";
|
||||
|
||||
const mapStateToProps = createStructuredSelector({});
|
||||
|
||||
const mapDispatchToProps = () => ({});
|
||||
|
||||
import { connect } from 'react-redux';
|
||||
import { createStructuredSelector } from 'reselect';
|
||||
import { selectJobReadOnly } from '../../redux/application/application.selectors';
|
||||
import { selectBodyshop } from '../../redux/user/user.selectors';
|
||||
import JobTotalsTableTotals from '../job-totals-table/job-totals.table.totals.component';
|
||||
import { Card } from 'antd';
|
||||
import { t } from 'i18next';
|
||||
const mapStateToProps = createStructuredSelector({
|
||||
//currentUser: selectCurrentUser
|
||||
bodyshop: selectBodyshop,
|
||||
jobRO: selectJobReadOnly,
|
||||
});
|
||||
const mapDispatchToProps = (dispatch) => ({
|
||||
//setUserLanguage: language => dispatch(setUserLanguage(language))
|
||||
});
|
||||
export default connect(mapStateToProps, mapDispatchToProps)(JobCloseRGuardTotals);
|
||||
|
||||
export function JobCloseRGuardTotals({ job, jobRO, bodyshop, form }) {
|
||||
export function JobCloseRGuardTotals({ job }) {
|
||||
return (
|
||||
<Card title={t("jobs.labels.cards.totals")}>
|
||||
<JobTotalsTableTotals job={job} />
|
||||
|
||||
Reference in New Issue
Block a user