Lint all the things
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { Button, List } from "antd";
|
||||
import { PageHeader } from "@ant-design/pro-layout";
|
||||
|
||||
import React, { useState } from "react";
|
||||
import { useState } from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { connect } from "react-redux";
|
||||
import { createStructuredSelector } from "reselect";
|
||||
@@ -14,7 +14,7 @@ import { useNotification } from "../../contexts/Notifications/notificationContex
|
||||
const mapStateToProps = createStructuredSelector({
|
||||
bodyshop: selectBodyshop //currentUser: selectCurrentUser
|
||||
});
|
||||
const mapDispatchToProps = (dispatch) => ({
|
||||
const mapDispatchToProps = () => ({
|
||||
//setUserLanguage: language => dispatch(setUserLanguage(language))
|
||||
});
|
||||
|
||||
@@ -46,7 +46,11 @@ export function PrintCenterSpeedPrint({ bodyshop, jobId }) {
|
||||
renderItem={(sp) => (
|
||||
<List.Item
|
||||
actions={[
|
||||
<Button loading={loading} onClick={() => renderAllTemplates(sp.templates)}>
|
||||
<Button
|
||||
key="printCenterSpeedPrintLoadingButton"
|
||||
loading={loading}
|
||||
onClick={() => renderAllTemplates(sp.templates)}
|
||||
>
|
||||
Print All
|
||||
</Button>
|
||||
]}
|
||||
|
||||
Reference in New Issue
Block a user