diff --git a/site/content/docs/02-template-syntax.md b/site/content/docs/02-template-syntax.md index 00e06bab4d..8f9dc7b68f 100644 --- a/site/content/docs/02-template-syntax.md +++ b/site/content/docs/02-template-syntax.md @@ -974,7 +974,7 @@ A custom transition function can also return a `tick` function, which is called } const text = node.textContent; - const duration = text.length / (speed * 0.01) ; + const duration = text.length / (speed * 0.01); return { duration,