Skip to content

Commit 29024ca

Browse files
docs(website): typos
1 parent 5669b97 commit 29024ca

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

packages/overmind-website/examples/guide/usingovermindwithangular/connect.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,14 @@ export class Store extends OvermindService<typeof config> {}
1818
code: `
1919
import { NgModule } from '@angular/core';
2020
import { BrowserModule } from '@angular/platform-browser';
21-
import { FormsModule } from '@angular/forms';
2221
import { Overmind } from 'overmind';
2322
import { OvermindModule, OvermindService, OVERMIND_INSTANCE } from 'overmind-angular'
2423
2524
import { config, Store } from './overmind'
2625
import { AppComponent } from './app.component';
2726
2827
@NgModule({
29-
imports: [ BrowserModule, FormsModule, OvermindModule ],
28+
imports: [ BrowserModule, OvermindModule ],
3029
declarations: [ AppComponent ],
3130
bootstrap: [ AppComponent ],
3231
providers: [
@@ -54,7 +53,7 @@ import { Store } from '../overmind'
5453
})
5554
export class AppComponent {
5655
state = this.store.select()
57-
actions: this.store.actions
56+
actions = this.store.actions
5857
constructor(private store: Store) {}
5958
},
6059
`,

packages/overmind-website/examples/guide/usingovermindwithangular/connect_custom.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import { Store } from '../overmind'
1616
})
1717
export class AppComponent {
1818
state = this.store.select(state => state.admin)
19-
actions: this.store.actions.admin
19+
actions = this.store.actions.admin
2020
constructor(private store: Store) {}
2121
},
2222
`,

0 commit comments

Comments
 (0)