mirror of
https://github.com/docmost/docmost.git
synced 2026-05-14 20:54:07 +08:00
Editor link components
* other minor fixes
This commit is contained in:
@@ -30,7 +30,7 @@ export default function MathBlockView(props: NodeViewProps) {
|
||||
});
|
||||
setError(null);
|
||||
} catch (e) {
|
||||
console.error(e.message);
|
||||
//console.error(e.message);
|
||||
setError(e.message);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -24,7 +24,7 @@ export default function MathInlineView(props: NodeViewProps) {
|
||||
katex.render(katexString, container);
|
||||
setError(null);
|
||||
} catch (e) {
|
||||
console.error(e);
|
||||
//console.error(e);
|
||||
setError(e.message);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user