summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Ikko Eltociear Ashimine <eltociear@gmail.com> 2023-11-13 18:14:46 +0900
committerGravatar GitHub <noreply@github.com> 2023-11-13 17:14:46 +0800
commit7aa965f960767916cb4cb7098274fe9c15e17b1e (patch)
treebb98c2597088de5e1ecb067f30635c15bea80145
parentc6e449c5b3e6e994b362b9ce441c8a1a81129f23 (diff)
downloadastro-7aa965f960767916cb4cb7098274fe9c15e17b1e.tar.gz
astro-7aa965f960767916cb4cb7098274fe9c15e17b1e.tar.zst
astro-7aa965f960767916cb4cb7098274fe9c15e17b1e.zip
Fix typo in router.ts (#9077)
-rw-r--r--packages/astro/src/transitions/router.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/astro/src/transitions/router.ts b/packages/astro/src/transitions/router.ts
index 8c008e209..c4da38c2c 100644
--- a/packages/astro/src/transitions/router.ts
+++ b/packages/astro/src/transitions/router.ts
@@ -446,7 +446,7 @@ export function navigate(href: string, options?: Options) {
if (!navigateOnServerWarned) {
// instantiate an error for the stacktrace to show to user.
const warning = new Error(
- 'The view transtions client API was called during a server side render. This may be unintentional as the navigate() function is expected to be called in response to user interactions. Please make sure that your usage is correct.'
+ 'The view transitions client API was called during a server side render. This may be unintentional as the navigate() function is expected to be called in response to user interactions. Please make sure that your usage is correct.'
);
warning.name = 'Warning';
// eslint-disable-next-line no-console