Skip to content

Commit

Permalink
fix(material/snack-bar): fix legacy reference in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mmalerba committed Sep 8, 2022
1 parent a3e6b58 commit e8e9153
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/material/snack-bar/snack-bar.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ To access the data in your component, you have to use the `MAT_SNACK_BAR_DATA` i

```ts
import {Component, Inject} from '@angular/core';
import {MAT_SNACK_BAR_DATA} from '@angular/material/legacy-snack-bar';
import {MAT_SNACK_BAR_DATA} from '@angular/material/snack-bar';

@Component({
selector: 'your-snackbar',
Expand Down

0 comments on commit e8e9153

Please sign in to comment.