Skip to content

Commit

Permalink
fix: removed unused singleton router
Browse files Browse the repository at this point in the history
  • Loading branch information
BowlingX committed Nov 9, 2023
1 parent 893e089 commit d57a8da
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/next-router-shim.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import { RouterContext } from './context.js'
import Router from 'next/dist/client/router.js'
import { useContext } from 'react'

export const useRouter = () => {
return useContext(RouterContext)
}

export default Router
export default {}

0 comments on commit d57a8da

Please sign in to comment.