Skip to content

Commit 4522dca

Browse files
committed
refactor: Remove warning message for disabled search in FlameChart
1 parent 8f07c4d commit 4522dca

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

log-viewer/src/features/timeline/optimised/FlameChart.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,6 @@ export class FlameChart<E extends EventNode = EventNode> {
394394
*/
395395
public search(predicate: (event: E) => boolean, options?: SearchOptions): SearchCursor<E> | null {
396396
if (!this.newSearchManager) {
397-
console.warn('Search not enabled. Set enableSearch: true in options.');
398397
return null;
399398
}
400399

0 commit comments

Comments
 (0)