Skip to content

Commit

Permalink
update error message copy
Browse files Browse the repository at this point in the history
  • Loading branch information
RODO94 committed Nov 14, 2024
1 parent ca3a9cc commit 6dd45b1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion editor.planx.uk/src/@planx/components/Pay/Public/Pay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ function Component(props: Props) {
const errorMessage =
teamSlug !== "demo"
? "GOV.UK Pay is not enabled for this local authority"
: "GOV.UK Pay is not enabled for services created in the Demo team";
: "GOV.UK Pay is not enabled demo users";

// Handles UI states
const reducer = (_state: ComponentState, action: Action): ComponentState => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -216,12 +216,11 @@ function Component(props: Props) {
<Card handleSubmit={props.handleSubmit}>
<ErrorSummaryContainer role="status">
<Typography variant="h4" ml={2} mb={1}>
Planning Constraints are not enabled for services created in the
Demo team
Planning Constraints are not enabled for demo users.
</Typography>
<Typography variant="body2" ml={2}>
Click continue to skip planning constraints and proceed with your
application for testing
application for testing.
</Typography>
</ErrorSummaryContainer>
</Card>
Expand Down
4 changes: 2 additions & 2 deletions editor.planx.uk/src/@planx/components/Send/Public.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ const DemoTeamWarning: React.FC<Props> = (props) => (
Send is not enabled for services created in the Demo team
</Typography>
<Typography variant="body2" ml={2}>
Team integrations need to be configured to allow submissions to be sent
from PlanX
Click continue to skip send and proceed with your application for
testing.
</Typography>
</ErrorSummaryContainer>
</Card>
Expand Down

0 comments on commit 6dd45b1

Please sign in to comment.