RecentComment 异步加载调整

This commit is contained in:
tangly1024
2022-12-10 15:57:30 +08:00
parent b0120bfd8f
commit 7e477b79ba
6 changed files with 9 additions and 12 deletions

View File

@@ -1,9 +1,7 @@
import React from 'react'
import BLOG from '@/blog.config'
import Link from 'next/link'
import dynamic from 'next/dynamic'
const { RecentComments } = dynamic(() => import('@waline/client'))
import { RecentComments } from '@waline/client'
/**
* @see https://waline.js.org/guide/get-started.html