mirror of
https://github.com/fmhy/edit.git
synced 2026-01-11 19:06:17 +00:00
feat: feedback v2
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
import nprogress, { type NProgress } from 'nprogress'
|
||||
import type { EnhanceAppContext } from 'vitepress'
|
||||
|
||||
export function loadProgress(router: EnhanceAppContext['router']): NProgress {
|
||||
export function loadProgress(
|
||||
router: EnhanceAppContext['router']
|
||||
): NProgress | undefined {
|
||||
if (typeof window === 'undefined') return
|
||||
|
||||
setTimeout(() => {
|
||||
|
||||
Reference in New Issue
Block a user