Closed lydell closed 5 years ago
Previously, these methods threw error because they tried to call Router.prefetch and Router.replace which don't exist. Now they use NextRouter instead of Router like the other methods do.
Router.prefetch
Router.replace
NextRouter
Router
Previously, these methods threw error because they tried to call
Router.prefetch
andRouter.replace
which don't exist. Now they useNextRouter
instead ofRouter
like the other methods do.