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 && ( -