Lint all the things
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
import { useQuery } from "@apollo/client";
|
||||
import { Button, Table } from "antd";
|
||||
import React from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { connect } from "react-redux";
|
||||
import { createStructuredSelector } from "reselect";
|
||||
@@ -14,7 +13,7 @@ const mapStateToProps = createStructuredSelector({
|
||||
//currentUser: selectCurrentUser
|
||||
bodyshop: selectBodyshop
|
||||
});
|
||||
const mapDispatchToProps = (dispatch) => ({
|
||||
const mapDispatchToProps = () => ({
|
||||
//setUserLanguage: language => dispatch(setUserLanguage(language))
|
||||
});
|
||||
export default connect(mapStateToProps, mapDispatchToProps)(ShopInfoUsersComponent);
|
||||
@@ -47,9 +46,14 @@ export function ShopInfoUsersComponent({ bodyshop }) {
|
||||
title: t("user.labels.actions"),
|
||||
dataIndex: "actions",
|
||||
key: "actions",
|
||||
render: (text, record) => (
|
||||
render: () => (
|
||||
<div>
|
||||
<Button disabled onClick={() => {}}>
|
||||
<Button
|
||||
disabled
|
||||
onClick={() => {
|
||||
// NO OP
|
||||
}}
|
||||
>
|
||||
{t("general.actions.delete")}
|
||||
</Button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user