Skip to content

Commit 55fe34a

Browse files
committed
clean: remove debug logs. #59
1 parent f837cf7 commit 55fe34a

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

core/src/comps/KeyValues.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ export const KeyValues = <T extends object>(props: KeyValuesProps<T>) => {
2727
const shouldExpand =
2828
shouldExpandNodeInitially && shouldExpandNodeInitially(!isExpanded, { value, keys, level, keyName, parentValue });
2929

30-
console.log('KeyValues', expands[expandKey], defaultExpanded, !shouldExpand, shouldExpand, isExpanded);
3130
if (expands[expandKey] === undefined && !shouldExpand) {
3231
return null;
3332
}

core/src/comps/NestedClose.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ export const NestedClose = <T extends object>(props: NestedCloseProps<T>) => {
1818
const isExpanded = expands[expandKey] ?? (shouldExpandNodeInitially ? false : defaultExpanded);
1919
const shouldExpand =
2020
shouldExpandNodeInitially && shouldExpandNodeInitially(!isExpanded, { value, keys, level, keyName, parentValue });
21-
console.log('NestedClose', expands[expandKey], defaultExpanded, shouldExpand);
2221
if (expands[expandKey] === undefined && !shouldExpand) {
2322
return null;
2423
}

core/src/comps/NestedOpen.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ export const NestedOpen = <T extends object>(props: NestedOpenProps<T>) => {
2626
let isExpanded = expands[expandKey] ?? (shouldExpandNodeInitially ? false : defaultExpanded);
2727
const shouldExpand =
2828
shouldExpandNodeInitially && shouldExpandNodeInitially(!isExpanded, { value, keys, level, keyName, parentValue });
29-
console.log('NestedOpen', expands[expandKey], defaultExpanded, shouldExpand, !shouldExpand);
3029
if (expands[expandKey] === undefined && shouldExpandNodeInitially) {
3130
isExpanded = !shouldExpand;
3231
}

0 commit comments

Comments
 (0)