Skip to content

Commit cd5bec1

Browse files
authored
fix: Add back the .js extension to the pages router adapter (#694)
1 parent 1456d50 commit cd5bec1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/nuqs/src/adapters/next/impl.pages.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { useSearchParams } from 'next/navigation'
1+
import { useSearchParams } from 'next/navigation.js'
22
import type { NextRouter } from 'next/router'
33
import { useCallback } from 'react'
44
import { debug } from '../../debug'

0 commit comments

Comments
 (0)