Skip to content

Commit c444835

Browse files
committed
chore: remove console.log calls
1 parent a559fc9 commit c444835

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

packages/core/src/core/create-tree.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,6 @@ export const createTree = <T>(
166166
const ref = treeDataRef.current as TreeDataRef;
167167
ref.isMounted = isMounted;
168168
if (isMounted) {
169-
console.log("apply waiting", ref.waitingForMount?.length);
170169
ref.waitingForMount?.forEach((cb) => cb());
171170
ref.waitingForMount = [];
172171
}
@@ -186,10 +185,8 @@ export const createTree = <T>(
186185
};
187186
const ref = treeDataRef.current as TreeDataRef;
188187
if (ref.isMounted) {
189-
console.log("apply substate now");
190188
apply();
191189
} else {
192-
console.log("apply substate later");
193190
ref.waitingForMount ??= [];
194191
ref.waitingForMount.push(apply);
195192
}
@@ -200,14 +197,12 @@ export const createTree = <T>(
200197
if (ref.isMounted) {
201198
rebuildItemMeta();
202199
config.setState?.(state);
203-
console.log("rebuild now");
204200
} else {
205201
ref.waitingForMount ??= [];
206202
ref.waitingForMount.push(() => {
207203
rebuildItemMeta();
208204
config.setState?.(state);
209205
});
210-
console.log("rebuild later");
211206
}
212207
},
213208
scheduleRebuildTree: () => {

0 commit comments

Comments
 (0)