Skip to content

Commit

Permalink
update copy (#4186)
Browse files Browse the repository at this point in the history
  • Loading branch information
lctrt authored Mar 11, 2024
1 parent dee9144 commit e299a6d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions apps/crn-frontend/src/network/users/Editing.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ const Editing: React.FC<EditingProps> = ({ 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 })}
/>
</Frame>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit e299a6d

Please sign in to comment.