From 3e7022f7d0c8b823690ffce0d3bbc5f391385123 Mon Sep 17 00:00:00 2001 From: Rory Doak Date: Mon, 16 Sep 2024 11:10:37 +0100 Subject: [PATCH] new comp name: EditorUpsertModal --- .../components/Team/components/AddNewEditorModal.tsx | 2 +- .../components/Team/components/MembersTable.tsx | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/editor.planx.uk/src/pages/FlowEditor/components/Team/components/AddNewEditorModal.tsx b/editor.planx.uk/src/pages/FlowEditor/components/Team/components/AddNewEditorModal.tsx index 81411025cf..b9ae50187e 100644 --- a/editor.planx.uk/src/pages/FlowEditor/components/Team/components/AddNewEditorModal.tsx +++ b/editor.planx.uk/src/pages/FlowEditor/components/Team/components/AddNewEditorModal.tsx @@ -28,7 +28,7 @@ import { optimisticallyUpdateExistingMember, } from "./lib/optimisticallyUpdateMembersTable"; -export const AddNewEditorModal = ({ +export const EditorUpsertModal = ({ showModal, setShowModal, initialValues, diff --git a/editor.planx.uk/src/pages/FlowEditor/components/Team/components/MembersTable.tsx b/editor.planx.uk/src/pages/FlowEditor/components/Team/components/MembersTable.tsx index ff2a04e608..851a22011d 100644 --- a/editor.planx.uk/src/pages/FlowEditor/components/Team/components/MembersTable.tsx +++ b/editor.planx.uk/src/pages/FlowEditor/components/Team/components/MembersTable.tsx @@ -13,7 +13,7 @@ import Permission from "ui/editor/Permission"; import { StyledAvatar, StyledTableRow } from "./../styles"; import { MembersTableProps, TeamMember } from "./../types"; -import { AddNewEditorModal } from "./AddNewEditorModal"; +import { EditorUpsertModal } from "./AddNewEditorModal"; const TableButton = styled(Button)(({ theme }) => ({ color: theme.palette.primary.main, @@ -71,7 +71,7 @@ export const MembersTable = ({ )} {showAddModal && ( - {showAddModal && ( - )} {showUpdateModal && ( -