Skip to content

Commit d74c1f4

Browse files
committed
fix examples
1 parent e3e4011 commit d74c1f4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

examples/angular/basic/src/app/app.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import { ChangeDetectionStrategy, Component, signal } from '@angular/core';
22
import { createCounter } from './counter';
33
import type { TanStackDevtoolsAngularInit } from '@tanstack/angular-devtools';
4-
import { TanStackDevtoolsComponent } from '@tanstack/angular-devtools';
4+
import { TanStackDevtools } from '@tanstack/angular-devtools';
55

66
@Component({
77
selector: 'app-root',
8-
imports: [TanStackDevtoolsComponent],
8+
imports: [TanStackDevtools],
99
template: `
1010
<div>
1111
<h1>Custom plugins</h1>

examples/angular/panel/src/app/app.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ import {
1010
customDevtoolPlugin,
1111
noOpCustomDevtoolPlugin,
1212
} from './devtools/custom-devtools-panel';
13-
import { TanStackDevtoolsComponent } from '@tanstack/angular-devtools'
13+
import { TanStackDevtools } from '@tanstack/angular-devtools'
1414

1515
@Component({
1616
selector: 'app-root',
17-
imports: [TanStackDevtoolsComponent],
17+
imports: [TanStackDevtools],
1818
template: `
1919
<div>
2020
<h1>Custom plugins</h1>

0 commit comments

Comments
 (0)