Skip to content

Commit 816ed28

Browse files
committed
docs: fix storybook router import
Signed-off-by: Akshat Patel <[email protected]>
1 parent 8a1cbdd commit 816ed28

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/ui-shell/ui-shell.stories.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export default {
2727
UIShellModule,
2828
IconModule,
2929
SearchModule,
30-
RouterModule.forRoot([
30+
RouterModule.forChild([
3131
{
3232
path: "bar",
3333
component: BarComponent
@@ -36,10 +36,7 @@ export default {
3636
path: "foo",
3737
component: FooComponent
3838
}
39-
], {
40-
initialNavigation: "enabledBlocking",
41-
useHash: true
42-
})
39+
])
4340
]
4441
})
4542
],

0 commit comments

Comments
 (0)