Skyleen77 / next-nprogress-bar

NProgress integration on Next.js compatible with /app and /pages folders
https://next-nprogress-bar.vercel.app
315 stars 24 forks source link

AppProgressBar.tsx should have a `use client` directive #64

Closed gustaveWPM closed 2 months ago

gustaveWPM commented 4 months ago

Here: https://github.com/Skyleen77/next-nprogress-bar/blob/main/src/AppProgressBar.tsx

The code should start with "use client";

gustaveWPM commented 4 months ago

Related to: https://github.com/Skyleen77/next-nprogress-bar/issues/58

osdiab commented 4 months ago

for what it's worth I just put "use client"; in the component where I use this component, but given this is a NextJS library wouldn't hurt