mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
Fix typo in router.ts (#9077)
This commit is contained in:
parent
c6e449c5b3
commit
7aa965f960
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue