mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-21 15:09:43 +00:00
refactor Equation component
This commit is contained in:
@@ -10,7 +10,7 @@ import { Code } from 'react-notion-x/build/third-party/code'
|
||||
import 'katex/dist/katex.min.css'
|
||||
|
||||
const Equation = dynamic(() =>
|
||||
import('react-notion-x/build/third-party/equation').then(async (m) => {
|
||||
import('@/components/Equation').then(async (m) => {
|
||||
// 化学方程式
|
||||
await import('@/lib/mhchem')
|
||||
return m.Equation
|
||||
|
||||
Reference in New Issue
Block a user