Skip to content

Commit 4703f40

Browse files
committed
wip
1 parent 6ee207c commit 4703f40

File tree

3 files changed

+3
-8
lines changed

3 files changed

+3
-8
lines changed

source/src/components/InfiniteTable/state/getInitialState.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,9 @@ export function createBrains(debugId: string, wrapRowsHorizontally: boolean) {
6666
* This is the main virtualization brain that powers the table
6767
*/
6868
const brain = !wrapRowsHorizontally
69-
? new MatrixBrain(debugChannel, {
70-
debugId,
71-
})
69+
? new MatrixBrain(debugChannel)
7270
: new HorizontalLayoutMatrixBrain(debugChannel, {
7371
isHeader: false,
74-
debugId,
7572
});
7673

7774
const headerBrainChannel = `${debugChannel}:header`;

source/src/components/VirtualBrain/HorizontalLayoutMatrixBrain.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,7 @@ export class HorizontalLayoutMatrixBrain extends MatrixBrain implements IBrain {
102102
private options: HorizontalLayoutMatrixBrainOptions;
103103

104104
constructor(name: string, opts: HorizontalLayoutMatrixBrainOptions) {
105-
super(`${name}:HorizontalLayout`, {
106-
debugId: opts.debugId,
107-
});
105+
super(`${name}:HorizontalLayout`);
108106
this.options = opts;
109107

110108
if (this.options.masterBrain) {

source/src/components/VirtualBrain/MatrixBrain.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ export class MatrixBrain extends Logger implements IBrain {
237237
*/
238238
private fixedRowsEnd = 0;
239239

240-
constructor(name: string, opts?: { debugId?: string }) {
240+
constructor(name: string) {
241241
const logName = getDebugChannel(name, `${name}:MatrixBrain`);
242242
super(logName);
243243
this.name = logName;

0 commit comments

Comments
 (0)