Lint all the things
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import { Card, List, Typography } from "antd";
|
||||
import React from "react";
|
||||
import { useQuery } from "@apollo/client";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { connect } from "react-redux";
|
||||
@@ -17,7 +16,7 @@ import { OwnerNameDisplayFunction } from "../owner-name-display/owner-name-displ
|
||||
const mapStateToProps = createStructuredSelector({
|
||||
technician: selectTechnician
|
||||
});
|
||||
const mapDispatchToProps = (dispatch) => ({
|
||||
const mapDispatchToProps = () => ({
|
||||
//setUserLanguage: language => dispatch(setUserLanguage(language))
|
||||
});
|
||||
|
||||
@@ -60,7 +59,12 @@ export function TechClockedInList({ technician }) {
|
||||
</Link>
|
||||
}
|
||||
actions={[
|
||||
<TechClockOffButton jobId={ticket.jobid} timeTicketId={ticket.id} completedCallback={refetch} />
|
||||
<TechClockOffButton
|
||||
key="techCLockOffButton"
|
||||
jobId={ticket.jobid}
|
||||
timeTicketId={ticket.id}
|
||||
completedCallback={refetch}
|
||||
/>
|
||||
]}
|
||||
>
|
||||
<div>
|
||||
|
||||
Reference in New Issue
Block a user