Update error messages

This commit is contained in:
2022-07-30 17:03:12 +02:00
parent cc3ddb2148
commit 39c8f6dd14
3 changed files with 4 additions and 4 deletions

View File

@@ -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!"),
}
}

View File

@@ -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>