Lint all the things
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import { Layout, Typography } from "antd";
|
||||
import React from "react";
|
||||
import { connect } from "react-redux";
|
||||
import { createStructuredSelector } from "reselect";
|
||||
import { selectTechnician } from "../../redux/tech/tech.selectors";
|
||||
@@ -10,7 +9,7 @@ const { Header } = Layout;
|
||||
const mapStateToProps = createStructuredSelector({
|
||||
technician: selectTechnician
|
||||
});
|
||||
const mapDispatchToProps = (dispatch) => ({
|
||||
const mapDispatchToProps = () => ({
|
||||
//setUserLanguage: language => dispatch(setUserLanguage(language))
|
||||
});
|
||||
|
||||
@@ -19,7 +18,7 @@ export function TechHeader({ technician }) {
|
||||
return (
|
||||
<Header style={{ textAlign: "center" }}>
|
||||
<Typography.Title style={{ color: "#fff" }}>
|
||||
{!!technician
|
||||
{technician
|
||||
? t("tech.labels.loggedin", {
|
||||
name: `${technician.first_name} ${technician.last_name}`
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user