IO-1067 Shop Config class dynamically required.

This commit is contained in:
Patrick Fic
2021-05-10 16:40:06 -07:00
parent 8bf3891535
commit b8e5034a67
2 changed files with 20 additions and 26 deletions

View File

@@ -5,30 +5,21 @@ import {
SyncOutlined,
} from "@ant-design/icons";
import { useMutation } from "@apollo/client";
import {
Alert,
Button,
Card,
Input,
notification,
Space,
Table,
Tag,
} from "antd";
import { Alert, Button, Card, Input, notification, Space, Table } from "antd";
import React, { useState } from "react";
import { useTranslation } from "react-i18next";
import { connect } from "react-redux";
import { Link } from "react-router-dom";
import { createStructuredSelector } from "reselect";
import {
DELETE_ALL_AVAILABLE_JOBS,
DELETE_AVAILABLE_JOB,
} from "../../graphql/available-jobs.queries";
import { selectBodyshop } from "../../redux/user/user.selectors";
import CurrencyFormatter from "../../utils/CurrencyFormatter";
import { TimeAgoFormatter } from "../../utils/DateFormatter";
import { alphaSort } from "../../utils/sorters";
import { connect } from "react-redux";
import { createStructuredSelector } from "reselect";
import { selectBodyshop } from "../../redux/user/user.selectors";
const mapStateToProps = createStructuredSelector({
bodyshop: selectBodyshop,
});