mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
### What? Type-only imports of `usePathaname` from server components are fine. ### How? Closes PACK-3186
3 lines
98 B
TypeScript
3 lines
98 B
TypeScript
// This fails if the `type` keyword is removed
|
|
import { type usePathname } from 'next/navigation'
|