Skip to content

Commit

Permalink
Merge pull request #21 from BKWLD/next-13-app-router-video-support
Browse files Browse the repository at this point in the history
Add support for videos in Next 13 app router
  • Loading branch information
weotch authored Aug 11, 2023
2 parents a1b769a + 70b34d6 commit 7aa5e11
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/react/src/LazyVideo.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Support Next.js 13 app router hydration where useInView will cause errors
"use client";

import { useInView } from 'react-intersection-observer'
import type { ReactElement } from 'react'

Expand Down

0 comments on commit 7aa5e11

Please sign in to comment.