Skip to content

Commit

Permalink
fix(examples): return snack-bar instance
Browse files Browse the repository at this point in the history
  • Loading branch information
tomastrajan committed Mar 14, 2018
1 parent 0ff88e8 commit 91efbb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/examples/todos/todos.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export class TodosComponent implements OnInit, OnDestroy {
}

private showNotification(message: string, action?: string) {
this.snackBar.open(message, action, {
return this.snackBar.open(message, action, {
duration: 3000
});
}
Expand Down

0 comments on commit 91efbb4

Please sign in to comment.