[fix] Corrects syntax error in transition docs

There was a small typo in the docs ([here](https://svelte.dev/docs#template-syntax-element-directives-animate-fn-custom-animation-functions)), where there's a semi-colon mid-way through the object, causing an error (`Expected "}" but found ";"`). This PR corrects that.
pull/8169/head
Alicia Sykes 4 years ago committed by GitHub
parent dd11917fe5
commit d0a739615e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1313,7 +1313,7 @@ A custom animation function can also return a `tick` function, which is called *
tick: (t, u) => tick: (t, u) =>
Object.assign(node.style, { Object.assign(node.style, {
color: t > 0.5 ? 'Pink' : 'Blue' color: t > 0.5 ? 'Pink' : 'Blue'
}); }),
}; };
} }
</script> </script>

Loading…
Cancel
Save