Skip to content

Commit

Permalink
chore: format
Browse files Browse the repository at this point in the history
  • Loading branch information
remix-run-bot committed Oct 12, 2023
1 parent 56767f1 commit a71d5c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/hooks/use-view-transition-state.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ Consider clicking on an image in a list that you need to expand into the hero im

```jsx
function NavImage({ src, alt, id }) {
let to = `/images/${idx}`;
let vt = unstable_useViewTransitionState(href);
const to = `/images/${idx}`;
const vt = unstable_useViewTransitionState(href);
return (
<Link to={to} unstable_viewTransition>
<img
Expand Down

0 comments on commit a71d5c9

Please sign in to comment.