release/2025-06-02 - Lint Updates

This commit is contained in:
Dave Richer
2025-05-22 11:37:47 -04:00
parent 8e5dc4fa71
commit 5c47088b11

View File

@@ -1,4 +1,4 @@
import { useApolloClient, useQuery } from "@apollo/client";
import { useQuery } from "@apollo/client";
import { Input, Table } from "antd";
import { useState } from "react";
import { useTranslation } from "react-i18next";
@@ -9,9 +9,6 @@ import { GET_PHONE_NUMBER_OPT_OUTS } from "../../graphql/phone-number-opt-out.qu
import PhoneNumberFormatter from "../../utils/PhoneFormatter";
import { TimeAgoFormatter } from "../../utils/DateFormatter";
import { phone } from "phone";
import { useSocket } from "../../contexts/SocketIO/useSocket.js";
import { useNotification } from "../../contexts/Notifications/notificationContext.jsx";
const mapStateToProps = createStructuredSelector({
bodyshop: selectBodyshop,
@@ -23,13 +20,10 @@ const mapDispatchToProps = () => ({});
function PhoneNumberConsentList({ bodyshop, currentUser }) {
const { t } = useTranslation();
const [search, setSearch] = useState("");
const notification = useNotification();
const { loading, data, refetch } = useQuery(GET_PHONE_NUMBER_OPT_OUTS, {
const { loading, data } = useQuery(GET_PHONE_NUMBER_OPT_OUTS, {
variables: { bodyshopid: bodyshop.id, search: search ? `%${search}%` : undefined },
fetchPolicy: "network-only"
});
const client = useApolloClient();
const { socket } = useSocket();
const columns = [
{