mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-22 12:13:48 +01:00
Remove needless code
This commit is contained in:
parent
3d868d4036
commit
fa1a63cc4e
@ -15,15 +15,8 @@ export default Vue.extend({
|
||||
},
|
||||
computed: {
|
||||
compiledFormula(): any {
|
||||
// let s: string;
|
||||
// try {
|
||||
// s = katex.renderToString(this.formula);
|
||||
// } catch(e) {
|
||||
// if ()
|
||||
// }
|
||||
// return s;
|
||||
return katex.renderToString(this.formula, {
|
||||
throwOnError: false
|
||||
throwOnError: false
|
||||
} as any);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user