mirror of
https://github.com/dzeiocom/components.git
synced 2025-06-13 11:09:22 +00:00
@ -1,7 +1,9 @@
|
||||
import Router from 'next/router'
|
||||
|
||||
Router.router = {
|
||||
push: async () => {},
|
||||
push: async (route) => {
|
||||
console.log('Pushing router to', route)
|
||||
},
|
||||
replace: async () => {},
|
||||
prefetch: () => {},
|
||||
route: '/mock-route',
|
||||
|
Reference in New Issue
Block a user