Skip to content

Commit 610972c

Browse files
committed
final changes to Use State functionality in customization tab
1 parent 512e76f commit 610972c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

app/src/components/bottom/TableStateProps.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,16 +97,16 @@ const TableStateProps = props => {
9797

9898

9999
//add in passed in props
100-
let propsPassed = currentComponent.passedInProps.slice();
101-
console.log("propsPassed:", propsPassed);
100+
101+
if (currentComponent.name !== 'App' && currentComponent.name !== 'index') {
102+
let propsPassed = currentComponent.passedInProps?.slice();
102103

103104
for (let i = 0; i < propsPassed.length; i++) {
104105
currentProps.push(propsPassed[i]);
105106
}
107+
}
106108

107109
rows = currentProps;
108-
console.log("currentProps on line 108: ", currentProps);
109-
console.log({rows});
110110

111111
return (
112112
<div className={'state-prop-grid'}>

0 commit comments

Comments
 (0)