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,