From c8f5c3ed9e7bfec4e53387c6201627b1dbc32f9b Mon Sep 17 00:00:00 2001 From: Dave Richer Date: Thu, 30 Jan 2025 15:36:47 -0500 Subject: [PATCH] release/2025-01-31 - Fix unused import --- .../task-upsert-modal/task-upsert-modal.container.jsx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/client/src/components/task-upsert-modal/task-upsert-modal.container.jsx b/client/src/components/task-upsert-modal/task-upsert-modal.container.jsx index 1d68dada2..bc8b7c7a3 100644 --- a/client/src/components/task-upsert-modal/task-upsert-modal.container.jsx +++ b/client/src/components/task-upsert-modal/task-upsert-modal.container.jsx @@ -1,6 +1,6 @@ import { useMutation, useQuery } from "@apollo/client"; import { Form, Modal } from "antd"; -import React, { useEffect, useMemo, useState } from "react"; +import React, { useEffect, useState } from "react"; import { useTranslation } from "react-i18next"; import { connect } from "react-redux"; import { createStructuredSelector } from "reselect"; @@ -255,10 +255,13 @@ export function TaskUpsertModalContainer({ bodyshop, currentUser, taskUpsert, to } }; - return ( {view ? t("tasks.actions.view") : existingTask ? t("tasks.actions.edit") : t("tasks.actions.new")}} + title={ + + {view ? t("tasks.actions.view") : existingTask ? t("tasks.actions.edit") : t("tasks.actions.new")} + + } open={open} okText={t("general.actions.save")} width="50%"