mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-22 03:42:14 +00:00
fix: definition typo on view transitions blog post (#7918)
This commit is contained in:
@@ -2521,7 +2521,7 @@ export default function App() {
|
||||
const { url } = useRouter();
|
||||
|
||||
// Define a default animation of .slow-fade.
|
||||
// See animations.css for the animation definiton.
|
||||
// See animations.css for the animation definition.
|
||||
return (
|
||||
<ViewTransition default="slow-fade">
|
||||
{url === '/' ? <Home /> : <Details />}
|
||||
|
||||
Reference in New Issue
Block a user