We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6dd220c + f4d9cd4 commit 4a69070Copy full SHA for 4a69070
src/Tree.tsx
@@ -286,7 +286,7 @@ const generateNewTree = <
286
let tempRecord: NodeRecord<TNodePublicState> | null = rootRecord;
287
288
const useIdleCallback =
289
- typeof 'requestIdleCallback' !== 'undefined' &&
+ typeof requestIdleCallback !== 'undefined' &&
290
placeholder !== undefined &&
291
// If placeholder is set to null and this is the first build, idle callback
292
// won't be used. It is necessary for trees with async data which can be
0 commit comments