Skip to content

Commit 7d698e6

Browse files
committed
Remove console logs
1 parent 98c0806 commit 7d698e6

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-mathlive",
3-
"version": "2.0.2",
3+
"version": "2.0.4",
44
"description": "An interactive math input for react.",
55
"main": "dist/index.js",
66
"files": [

src/MathFieldComponent.tsx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,16 +65,11 @@ export class MathFieldComponent extends React.Component<Props> {
6565
prevProps,
6666
props: this.props,
6767
}
68-
69-
console.log("componentDidUpdate", p);
70-
7168
if (prevProps.latex !== undefined) {
72-
console.log("prevProps.latex !== undefined", p);
7369
if (this.props.latex === undefined) {
7470
throw new Error("Cannot change from controlled to uncontrolled state!");
7571
}
7672
if (this.props.latex !== prevProps.latex) {
77-
console.log("trigger mathlive update", this.props.latex);
7873
if (this.props.latex === "") {
7974
this.mathField.$perform("deleteAll");
8075
} else {

0 commit comments

Comments
 (0)