Update error messages
This commit is contained in:
@@ -79,7 +79,7 @@ export async function GET ({ params }: RequestEvent): Promise<RequestHandlerOutp
|
||||
if (!location.length || location.length && params.country !== location[0].country.slug) {
|
||||
return {
|
||||
status: 404,
|
||||
body: Error("This location is not available… yet,"),
|
||||
body: Error("This location is not available… yet!"),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
message: 'Server error…',
|
||||
},
|
||||
}
|
||||
const defaultMessage = 'but you are welcome to explore our locations or discover our shop!'
|
||||
const defaultMessage = 'But you are welcome to explore our locations or discover our shop.'
|
||||
</script>
|
||||
|
||||
<Metas
|
||||
@@ -40,7 +40,7 @@
|
||||
<PageTransition name="page-error">
|
||||
<div class="page-error__top">
|
||||
<Heading
|
||||
text="{message ?? errors[status].message} {defaultMessage}"
|
||||
text="{message ?? errors[status].message} <br>{defaultMessage}"
|
||||
/>
|
||||
|
||||
<ListCTAs>
|
||||
|
||||
Reference in New Issue
Block a user