From e299a6d7314511050c4a3b429421bb2ba39fd302 Mon Sep 17 00:00:00 2001 From: Quentin Leonetti Date: Mon, 11 Mar 2024 13:27:44 +0100 Subject: [PATCH] update copy (#4186) --- apps/crn-frontend/src/network/users/Editing.tsx | 4 ++-- .../crn-frontend/src/network/users/__tests__/Editing.test.tsx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/crn-frontend/src/network/users/Editing.tsx b/apps/crn-frontend/src/network/users/Editing.tsx index d70d510b73..7881f5dca3 100644 --- a/apps/crn-frontend/src/network/users/Editing.tsx +++ b/apps/crn-frontend/src/network/users/Editing.tsx @@ -61,8 +61,8 @@ const Editing: React.FC = ({ user, backHref }) => { title="Ready to publish your profile?" description="In order to show you the Hub, we will need to make your profile public to the Hub network. Would you like to continue?" error="There was an error and we were unable to publish your profile" - cancelText="Back to Editing" - confirmText="Publish and Explore" + cancelText="Cancel" + confirmText="Publish Profile" onSave={() => patchUser({ onboarded: true })} /> diff --git a/apps/crn-frontend/src/network/users/__tests__/Editing.test.tsx b/apps/crn-frontend/src/network/users/__tests__/Editing.test.tsx index 5e97b3087d..77af809e22 100644 --- a/apps/crn-frontend/src/network/users/__tests__/Editing.test.tsx +++ b/apps/crn-frontend/src/network/users/__tests__/Editing.test.tsx @@ -262,7 +262,7 @@ describe('the onboarded modal', () => { { wrapper }, ); - userEvent.click(await findByText(/publish and explore/i)); + userEvent.click(await findByText(/publish profile/i)); await waitFor(() => { expect(mockPatchUser).toHaveBeenLastCalledWith( id, @@ -317,7 +317,7 @@ describe('the onboarded modal', () => { { wrapper }, ); - userEvent.click(await findByText(/publish and explore/i)); + userEvent.click(await findByText(/publish profile/i)); await waitFor(() => { expect(mockPatchUser).toHaveBeenLastCalledWith( id,