import * as React from 'react' import Katex from '@/components/KatexReact' import { getBlockTitle } from 'notion-utils' const katexSettings = { throwOnError: false, strict: false } export const Equation = ({ block, math, inline = false, className, ...rest }) => { // const { recordMap } = useNotionContext() math = math || getBlockTitle(block, null) if (!math) return null return ( ) }