Skip to content

Commit 88841e1

Browse files
KPjonocrbuddhajjigaewilliamdyoonMadinventorZero
authored andcommitted
Removed unnecessary imports and useEffect.
Co-authored-by: jonocr <[email protected]> Co-authored-by: buddhajjigae <[email protected]> Co-authored-by: williamdyoon <[email protected]> Co-authored-by: MadinventorZero <[email protected]>
1 parent c5d5d6d commit 88841e1

File tree

3 files changed

+0
-9
lines changed

3 files changed

+0
-9
lines changed

app/src/components/right/StatePropsPanel.tsx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,6 @@ const StatePropsPanel = ({ isThemeLight }): JSX.Element => {
3434

3535
const [stateProps, setStateProps] = useState([]);
3636

37-
// detect changes to component.stateProps[], renders and prints its contents
38-
useEffect(() => {
39-
console.log(new Date().toLocaleDateString(), 'stateProps:', stateProps);
40-
}, [stateProps]);
41-
4237
// get currentComponent by using currently focused component's id
4338
const currentId = state.canvasFocus.componentId;
4439
const currentComponent = state.components[currentId - 1];

app/src/components/right/TableStateProps.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// CARET
22
import React, { useState, useContext, useEffect } from 'react';
3-
import PropTypes from 'prop-types';
43
import {
54
DataGrid,
65
GridEditRowsModel,

app/src/interfaces/Interfaces.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,4 @@ export interface StatePropsPanelProps {
104104
deleteHandler: (id: number | any) => void;
105105
}
106106

107-
export interface TableStateProps {
108-
}
109-
110107
// Caret end

0 commit comments

Comments
 (0)