File tree Expand file tree Collapse file tree 2 files changed +1
-6
lines changed
Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Original file line number Diff line number Diff line change 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" : [
Original file line number Diff line number Diff 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 {
You can’t perform that action at this time.
0 commit comments