Skip to content

Commit

Permalink
minor (#1934)
Browse files Browse the repository at this point in the history
  • Loading branch information
brillout committed Oct 24, 2024
1 parent 29f9afc commit 8f2de0b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/pages/error-page/+Page.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function Page() {
// Fallback error message
msg = pageContext.is404 ?
"This page doesn't exist." :
"Something went wrong. Sincere apologies. Try again (later)."
"Something went wrong. Try again (later)."
}

return <p>{msg}</p>
Expand Down
2 changes: 1 addition & 1 deletion examples/auth/pages/_error/+Page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function Page() {

// Fallback error message
if (!msg) {
msg = pageContext.is404 ? "This page doesn't exist." : 'Something went wrong. Sincere apologies. Try again (later).'
msg = pageContext.is404 ? "This page doesn't exist." : 'Something went wrong. Try again (later).'
title = pageContext.is404 ? "Doesn't exist" : 'Error'
}

Expand Down

0 comments on commit 8f2de0b

Please sign in to comment.